2018-10-27 18:03:11 -04:00
|
|
|
syntax = "proto3";
|
|
|
|
|
|
|
|
package v2ray.core.app.reverse;
|
|
|
|
option csharp_namespace = "V2Ray.Core.Proxy.Reverse";
|
2020-08-24 08:10:26 -04:00
|
|
|
option go_package = "v2ray.com/core/app/reverse";
|
2018-10-27 18:03:11 -04:00
|
|
|
option java_package = "com.v2ray.core.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;
|
|
|
|
}
|