1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-27 12:36:34 -05:00
v2fly/proxy/dokodemo/config.proto
Shelikhoo a7eae67723
add back "door" to dokodemo-door's name
kslr said that without door it would lose its spirit
2021-09-13 16:55:43 +01:00

37 lines
1.1 KiB
Protocol Buffer

syntax = "proto3";
package v2ray.core.proxy.dokodemo;
option csharp_namespace = "V2Ray.Core.Proxy.Dokodemo";
option go_package = "github.com/v2fly/v2ray-core/v4/proxy/dokodemo";
option java_package = "com.v2ray.core.proxy.dokodemo";
option java_multiple_files = true;
import "common/net/address.proto";
import "common/net/network.proto";
import "common/protoext/extensions.proto";
message Config {
v2ray.core.common.net.IPOrDomain address = 1;
uint32 port = 2;
// List of networks that the Dokodemo accepts.
// Deprecated. Use networks.
v2ray.core.common.net.NetworkList network_list = 3 [deprecated = true];
// List of networks that the Dokodemo accepts.
repeated v2ray.core.common.net.Network networks = 7;
uint32 timeout = 4 [deprecated = true];
bool follow_redirect = 5;
uint32 user_level = 6;
}
message SimplifiedConfig {
option (v2ray.core.common.protoext.message_opt).type = "inbound";
option (v2ray.core.common.protoext.message_opt).short_name = "dokodemo-door";
v2ray.core.common.net.IPOrDomain address = 1;
uint32 port = 2;
string network = 3;
bool follow_redirect = 4;
}