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

     1  syntax = "proto3";
     2  
     3  package xray.proxy.trojan;
     4  option csharp_namespace = "Xray.Proxy.Trojan";
     5  option go_package = "github.com/xtls/xray-core/proxy/trojan";
     6  option java_package = "com.xray.proxy.trojan";
     7  option java_multiple_files = true;
     8  
     9  import "common/protocol/user.proto";
    10  import "common/protocol/server_spec.proto";
    11  
    12  message Account {
    13    string password = 1;
    14  }
    15  
    16  message Fallback {
    17    string name = 1;
    18    string alpn = 2;
    19    string path = 3;
    20    string type = 4;
    21    string dest = 5;
    22    uint64 xver = 6;
    23  }
    24  
    25  message ClientConfig {
    26    repeated xray.common.protocol.ServerEndpoint server = 1;
    27  }
    28  
    29  message ServerConfig {
    30    repeated xray.common.protocol.User users = 1;
    31    repeated Fallback fallbacks = 2;
    32  }