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

     1  syntax = "proto3";
     2  
     3  package v2ray.core.proxy.dokodemo;
     4  option csharp_namespace = "V2Ray.Core.Proxy.Dokodemo";
     5  option go_package = "github.com/imannamdari/v2ray-core/v5/proxy/dokodemo";
     6  option java_package = "com.v2ray.core.proxy.dokodemo";
     7  option java_multiple_files = true;
     8  
     9  import "common/net/address.proto";
    10  import "common/net/network.proto";
    11  import "common/protoext/extensions.proto";
    12  
    13  message Config {
    14    v2ray.core.common.net.IPOrDomain address = 1;
    15    uint32 port = 2;
    16  
    17    // List of networks that the Dokodemo accepts.
    18    // Deprecated. Use networks.
    19    v2ray.core.common.net.NetworkList network_list = 3 [deprecated = true];
    20    // List of networks that the Dokodemo accepts.
    21    repeated v2ray.core.common.net.Network networks = 7;
    22  
    23    uint32 timeout = 4 [deprecated = true];
    24    bool follow_redirect = 5;
    25    uint32 user_level = 6;
    26  }
    27  
    28  message SimplifiedConfig {
    29    option (v2ray.core.common.protoext.message_opt).type = "inbound";
    30    option (v2ray.core.common.protoext.message_opt).short_name = "dokodemo-door";
    31  
    32    v2ray.core.common.net.IPOrDomain address = 1;
    33    uint32 port = 2;
    34    v2ray.core.common.net.NetworkList networks = 3;
    35    bool follow_redirect = 4;
    36  }