1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-10 09:50:43 +00:00
v2fly/proxy/dokodemo/config.proto

37 lines
1.1 KiB
Protocol Buffer
Raw Normal View History

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