v2ray-core/common/net/destination.proto

16 lines
420 B
Protocol Buffer
Raw Normal View History

2016-09-20 08:44:44 +00:00
syntax = "proto3";
2016-09-26 13:14:16 +00:00
package v2ray.core.common.net;
2016-12-22 23:24:28 +00:00
option csharp_namespace = "V2Ray.Core.Common.Net";
2016-09-20 08:44:44 +00:00
option go_package = "net";
2016-09-26 13:14:16 +00:00
option java_package = "com.v2ray.core.common.net";
option java_outer_classname = "DestinationProto";
2016-09-20 09:53:05 +00:00
import "v2ray.com/core/common/net/network.proto";
import "v2ray.com/core/common/net/address.proto";
2016-10-12 16:43:55 +00:00
message Endpoint {
2016-09-20 09:53:05 +00:00
Network network = 1;
2016-10-12 16:43:55 +00:00
IPOrDomain address = 2;
2016-09-20 09:53:05 +00:00
uint32 port = 3;
}