github.com/eagleql/xray-core@v1.4.4/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/eagleql/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    string flow = 2;
    15  }
    16  
    17  message Fallback {
    18    string name = 1;
    19    string alpn = 2;
    20    string path = 3;
    21    string type = 4;
    22    string dest = 5;
    23    uint64 xver = 6;
    24  }
    25  
    26  message ClientConfig {
    27    repeated xray.common.protocol.ServerEndpoint server = 1;
    28  }
    29  
    30  message ServerConfig {
    31    repeated xray.common.protocol.User users = 1;
    32    repeated Fallback fallbacks = 3;
    33  }