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