mirror of https://github.com/XTLS/Xray-core
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
586 B
32 lines
586 B
syntax = "proto3"; |
|
|
|
package xray.app.reverse; |
|
option csharp_namespace = "Xray.Proxy.Reverse"; |
|
option go_package = "github.com/xtls/xray-core/app/reverse"; |
|
option java_package = "com.xray.proxy.reverse"; |
|
option java_multiple_files = true; |
|
|
|
message Control { |
|
enum State { |
|
ACTIVE = 0; |
|
DRAIN = 1; |
|
} |
|
|
|
State state = 1; |
|
bytes random = 99; |
|
} |
|
|
|
message BridgeConfig { |
|
string tag = 1; |
|
string domain = 2; |
|
} |
|
|
|
message PortalConfig { |
|
string tag = 1; |
|
string domain = 2; |
|
} |
|
|
|
message Config { |
|
repeated BridgeConfig bridge_config = 1; |
|
repeated PortalConfig portal_config = 2; |
|
}
|
|
|