1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-02-20 23:47:21 -05:00
v2fly/proxy/freedom/config.proto

27 lines
665 B
Protocol Buffer
Raw Normal View History

2016-08-25 21:55:49 +02:00
syntax = "proto3";
2016-09-26 15:14:16 +02:00
package v2ray.core.proxy.freedom;
2016-12-23 00:24:28 +01:00
option csharp_namespace = "V2Ray.Core.Proxy.Freedom";
2021-02-17 04:31:50 +08:00
option go_package = "github.com/v2fly/v2ray-core/v4/proxy/freedom";
2016-09-26 15:14:16 +02:00
option java_package = "com.v2ray.core.proxy.freedom";
2017-02-03 23:15:10 +01:00
option java_multiple_files = true;
2016-08-25 21:55:49 +02:00
import "common/protocol/server_spec.proto";
message DestinationOverride {
v2ray.core.common.protocol.ServerEndpoint server = 1;
}
2016-08-25 21:55:49 +02:00
message Config {
enum DomainStrategy {
AS_IS = 0;
USE_IP = 1;
USE_IP4 = 2;
USE_IP6 = 3;
2016-08-25 21:55:49 +02:00
}
DomainStrategy domain_strategy = 1;
2017-11-27 22:09:30 +01:00
uint32 timeout = 2 [deprecated = true];
DestinationOverride destination_override = 3;
2017-11-27 22:09:30 +01:00
uint32 user_level = 4;
}