Hunter0x7c7
2022-08-11 a82f9cb69f63aaeba40c024960deda7d75b9fece
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
syntax = "proto3";
 
package v2ray.core.app.proxyman.command;
option csharp_namespace = "V2Ray.Core.App.Proxyman.Command";
option go_package = "github.com/v2fly/v2ray-core/v5/app/proxyman/command";
option java_package = "com.v2ray.core.app.proxyman.command";
option java_multiple_files = true;
 
import "common/protocol/user.proto";
import "google/protobuf/any.proto";
import "common/protoext/extensions.proto";
import "config.proto";
 
message AddUserOperation {
  v2ray.core.common.protocol.User user = 1;
}
 
message RemoveUserOperation {
  string email = 1;
}
 
message AddInboundRequest {
  core.InboundHandlerConfig inbound = 1;
}
 
message AddInboundResponse {}
 
message RemoveInboundRequest {
  string tag = 1;
}
 
message RemoveInboundResponse {}
 
message AlterInboundRequest {
  string tag = 1;
  google.protobuf.Any operation = 2;
}
 
message AlterInboundResponse {}
 
message AddOutboundRequest {
  core.OutboundHandlerConfig outbound = 1;
}
 
message AddOutboundResponse {}
 
message RemoveOutboundRequest {
  string tag = 1;
}
 
message RemoveOutboundResponse {}
 
message AlterOutboundRequest {
  string tag = 1;
  google.protobuf.Any operation = 2;
}
 
message AlterOutboundResponse {}
 
service HandlerService {
  rpc AddInbound(AddInboundRequest) returns (AddInboundResponse) {}
 
  rpc RemoveInbound(RemoveInboundRequest) returns (RemoveInboundResponse) {}
 
  rpc AlterInbound(AlterInboundRequest) returns (AlterInboundResponse) {}
 
  rpc AddOutbound(AddOutboundRequest) returns (AddOutboundResponse) {}
 
  rpc RemoveOutbound(RemoveOutboundRequest) returns (RemoveOutboundResponse) {}
 
  rpc AlterOutbound(AlterOutboundRequest) returns (AlterOutboundResponse) {}
}
 
message Config {
  option (v2ray.core.common.protoext.message_opt).type = "grpcservice";
  option (v2ray.core.common.protoext.message_opt).short_name = "proxyman";
}