github.com/imannamdari/v2ray-core/v5@v5.0.5/proxy/freedom/config.proto (about) 1 syntax = "proto3"; 2 3 package v2ray.core.proxy.freedom; 4 option csharp_namespace = "V2Ray.Core.Proxy.Freedom"; 5 option go_package = "github.com/imannamdari/v2ray-core/v5/proxy/freedom"; 6 option java_package = "com.v2ray.core.proxy.freedom"; 7 option java_multiple_files = true; 8 9 import "common/protocol/server_spec.proto"; 10 import "common/protoext/extensions.proto"; 11 12 message DestinationOverride { 13 v2ray.core.common.protocol.ServerEndpoint server = 1; 14 } 15 16 message Config { 17 enum DomainStrategy { 18 AS_IS = 0; 19 USE_IP = 1; 20 USE_IP4 = 2; 21 USE_IP6 = 3; 22 } 23 DomainStrategy domain_strategy = 1; 24 uint32 timeout = 2 [deprecated = true]; 25 DestinationOverride destination_override = 3; 26 uint32 user_level = 4; 27 } 28 29 message SimplifiedConfig { 30 option (v2ray.core.common.protoext.message_opt).type = "outbound"; 31 option (v2ray.core.common.protoext.message_opt).short_name = "freedom"; 32 }