mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-10-15 23:46:01 -04:00
37 lines
1.1 KiB
Protocol Buffer
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/v5/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;
|
|
}
|