1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-21 01:27:03 -05:00
v2fly/proxy/dokodemo/config.proto

37 lines
1.1 KiB
Protocol Buffer
Raw Normal View History

2016-09-22 10:49:20 -04:00
syntax = "proto3";
2016-09-26 09:14:16 -04:00
package v2ray.core.proxy.dokodemo;
2016-12-22 18:24:28 -05:00
option csharp_namespace = "V2Ray.Core.Proxy.Dokodemo";
option go_package = "github.com/v2fly/v2ray-core/v5/proxy/dokodemo";
2016-09-26 09:14:16 -04:00
option java_package = "com.v2ray.core.proxy.dokodemo";
2017-02-03 17:15:10 -05:00
option java_multiple_files = true;
2016-09-22 10:49:20 -04:00
import "common/net/address.proto";
import "common/net/network.proto";
2021-09-06 10:58:48 -04:00
import "common/protoext/extensions.proto";
2016-09-22 10:49:20 -04:00
message Config {
2016-10-12 12:43:55 -04:00
v2ray.core.common.net.IPOrDomain address = 1;
2016-09-22 10:49:20 -04:00
uint32 port = 2;
2018-11-20 10:58:26 -05:00
// 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;
2017-11-27 16:09:30 -05:00
uint32 timeout = 4 [deprecated = true];
2016-09-22 10:49:20 -04:00
bool follow_redirect = 5;
2017-11-27 16:09:30 -05:00
uint32 user_level = 6;
}
2021-09-06 10:58:48 -04:00
message SimplifiedConfig {
option (v2ray.core.common.protoext.message_opt).type = "inbound";
option (v2ray.core.common.protoext.message_opt).short_name = "dokodemo-door";
2021-09-06 10:58:48 -04:00
v2ray.core.common.net.IPOrDomain address = 1;
uint32 port = 2;
string network = 3;
bool follow_redirect = 4;
}