github.com/xraypb/xray-core@v1.6.6/proxy/freedom/config.proto (about)

     1  syntax = "proto3";
     2  
     3  package xray.proxy.freedom;
     4  option csharp_namespace = "Xray.Proxy.Freedom";
     5  option go_package = "github.com/xraypb/xray-core/proxy/freedom";
     6  option java_package = "com.xray.proxy.freedom";
     7  option java_multiple_files = true;
     8  
     9  import "common/protocol/server_spec.proto";
    10  
    11  message DestinationOverride {
    12    xray.common.protocol.ServerEndpoint server = 1;
    13  }
    14  
    15  message Config {
    16    enum DomainStrategy {
    17      AS_IS = 0;
    18      USE_IP = 1;
    19      USE_IP4 = 2;
    20      USE_IP6 = 3;
    21    }
    22    DomainStrategy domain_strategy = 1;
    23    uint32 timeout = 2 [deprecated = true];
    24    DestinationOverride destination_override = 3;
    25    uint32 user_level = 4;
    26  }