github.com/imannamdari/v2ray-core/v5@v5.0.5/app/reverse/config.proto (about)

     1  syntax = "proto3";
     2  
     3  package v2ray.core.app.reverse;
     4  option csharp_namespace = "V2Ray.Core.Proxy.Reverse";
     5  option go_package = "github.com/imannamdari/v2ray-core/v5/app/reverse";
     6  option java_package = "com.v2ray.core.proxy.reverse";
     7  option java_multiple_files = true;
     8  
     9  import "common/protoext/extensions.proto";
    10  
    11  message Control {
    12    enum State {
    13      ACTIVE = 0;
    14      DRAIN = 1;
    15    }
    16  
    17    State state = 1;
    18    bytes random = 99;
    19  }
    20  
    21  message BridgeConfig {
    22    string tag = 1;
    23    string domain = 2;
    24  }
    25  
    26  message PortalConfig {
    27    string tag = 1;
    28    string domain = 2;
    29  }
    30  
    31  message Config {
    32    option (v2ray.core.common.protoext.message_opt).type = "service";
    33    option (v2ray.core.common.protoext.message_opt).short_name = "reverse";
    34  
    35    repeated BridgeConfig bridge_config = 1;
    36    repeated PortalConfig portal_config = 2;
    37  }