You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
v2ray-core/common/net/address.proto

16 lines
334 B

8 years ago
syntax = "proto3";
package v2ray.core.common.net;
8 years ago
option go_package = "net";
option java_package = "com.v2ray.core.common.net";
option java_outer_classname = "AddressProto";
8 years ago
8 years ago
message IPOrDomain {
8 years ago
oneof address {
8 years ago
// IP address. Must by either 4 or 16 bytes.
8 years ago
bytes ip = 1;
8 years ago
// Domain address.
8 years ago
string domain = 2;
}
}