mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-04 17:27:23 -05:00
ef460f68f8
* Update protoc binary executable files to v3.13.0 * Write proto files in more standard way * Make go generate & vprotogen compatible with protoc-gen-gofast * Regenerate pb.go files according to new proto files * Clean go.sum by running go mod tidy * Implement mustEmbedUnimplementedServiceServer for gPRC services
27 lines
649 B
Protocol Buffer
27 lines
649 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package v2ray.core.proxy.freedom;
|
|
option csharp_namespace = "V2Ray.Core.Proxy.Freedom";
|
|
option go_package = "v2ray.com/core/proxy/freedom";
|
|
option java_package = "com.v2ray.core.proxy.freedom";
|
|
option java_multiple_files = true;
|
|
|
|
import "common/protocol/server_spec.proto";
|
|
|
|
message DestinationOverride {
|
|
v2ray.core.common.protocol.ServerEndpoint server = 1;
|
|
}
|
|
|
|
message Config {
|
|
enum DomainStrategy {
|
|
AS_IS = 0;
|
|
USE_IP = 1;
|
|
USE_IP4 = 2;
|
|
USE_IP6 = 3;
|
|
}
|
|
DomainStrategy domain_strategy = 1;
|
|
uint32 timeout = 2 [deprecated = true];
|
|
DestinationOverride destination_override = 3;
|
|
uint32 user_level = 4;
|
|
}
|