mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-08-22 04:14:26 -04:00
* 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
15 lines
432 B
Protocol Buffer
15 lines
432 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package v2ray.core.proxy.dns;
|
|
option csharp_namespace = "V2Ray.Core.Proxy.Dns";
|
|
option go_package = "v2ray.com/core/proxy/dns";
|
|
option java_package = "com.v2ray.core.proxy.dns";
|
|
option java_multiple_files = true;
|
|
|
|
import "common/net/destination.proto";
|
|
|
|
message Config {
|
|
// Server is the DNS server address. If specified, this address overrides the original one.
|
|
v2ray.core.common.net.Endpoint server = 1;
|
|
}
|