1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-29 10:45:22 +00:00
This commit is contained in:
Darien Raymond 2016-10-18 00:12:09 +02:00
parent b81d091fb8
commit f049b3cc2b
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
3 changed files with 12 additions and 0 deletions

View File

@ -7,7 +7,10 @@ option java_outer_classname = "AddressProto";
message IPOrDomain {
oneof address {
// IP address. Must by either 4 or 16 bytes.
bytes ip = 1;
// Domain address.
string domain = 2;
}
}

View File

@ -7,10 +7,17 @@ option java_outer_classname = "NetworkProto";
enum Network {
Unknown = 0;
// Native TCP provided by system.
RawTCP = 1;
// V2Ray specific TCP.
TCP = 2;
UDP = 3;
KCP = 4;
WebSocket = 5;
}

View File

@ -10,5 +10,7 @@ import "v2ray.com/core/common/loader/type.proto";
message User {
uint32 level = 1;
string email = 2;
// Protocol specific account information.
v2ray.core.common.loader.TypedSettings account = 3;
}