github.com/xraypb/xray-core@v1.6.6/app/reverse/config.proto (about) 1 syntax = "proto3"; 2 3 package xray.app.reverse; 4 option csharp_namespace = "Xray.Proxy.Reverse"; 5 option go_package = "github.com/xraypb/xray-core/app/reverse"; 6 option java_package = "com.xray.proxy.reverse"; 7 option java_multiple_files = true; 8 9 message Control { 10 enum State { 11 ACTIVE = 0; 12 DRAIN = 1; 13 } 14 15 State state = 1; 16 bytes random = 99; 17 } 18 19 message BridgeConfig { 20 string tag = 1; 21 string domain = 2; 22 } 23 24 message PortalConfig { 25 string tag = 1; 26 string domain = 2; 27 } 28 29 message Config { 30 repeated BridgeConfig bridge_config = 1; 31 repeated PortalConfig portal_config = 2; 32 }