github.com/moqsien/xraycore@v1.8.5/proxy/vmess/inbound/config.proto (about)

     1  syntax = "proto3";
     2  
     3  package xray.proxy.vmess.inbound;
     4  option csharp_namespace = "Xray.Proxy.Vmess.Inbound";
     5  option go_package = "github.com/xtls/xray-core/proxy/vmess/inbound";
     6  option java_package = "com.xray.proxy.vmess.inbound";
     7  option java_multiple_files = true;
     8  
     9  import "common/protocol/user.proto";
    10  
    11  message DetourConfig {
    12    string to = 1;
    13  }
    14  
    15  message DefaultConfig {
    16    uint32 level = 2;
    17  }
    18  
    19  message Config {
    20    repeated xray.common.protocol.User user = 1;
    21    DefaultConfig default = 2;
    22    DetourConfig detour = 3;
    23    // 4 is for legacy setting
    24  }