mirror of https://github.com/v2ray/v2ray-core
comments
parent
b81d091fb8
commit
f049b3cc2b
|
@ -7,7 +7,10 @@ option java_outer_classname = "AddressProto";
|
||||||
|
|
||||||
message IPOrDomain {
|
message IPOrDomain {
|
||||||
oneof address {
|
oneof address {
|
||||||
|
// IP address. Must by either 4 or 16 bytes.
|
||||||
bytes ip = 1;
|
bytes ip = 1;
|
||||||
|
|
||||||
|
// Domain address.
|
||||||
string domain = 2;
|
string domain = 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -7,10 +7,17 @@ option java_outer_classname = "NetworkProto";
|
||||||
|
|
||||||
enum Network {
|
enum Network {
|
||||||
Unknown = 0;
|
Unknown = 0;
|
||||||
|
|
||||||
|
// Native TCP provided by system.
|
||||||
RawTCP = 1;
|
RawTCP = 1;
|
||||||
|
|
||||||
|
// V2Ray specific TCP.
|
||||||
TCP = 2;
|
TCP = 2;
|
||||||
|
|
||||||
UDP = 3;
|
UDP = 3;
|
||||||
|
|
||||||
KCP = 4;
|
KCP = 4;
|
||||||
|
|
||||||
WebSocket = 5;
|
WebSocket = 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -10,5 +10,7 @@ import "v2ray.com/core/common/loader/type.proto";
|
||||||
message User {
|
message User {
|
||||||
uint32 level = 1;
|
uint32 level = 1;
|
||||||
string email = 2;
|
string email = 2;
|
||||||
|
|
||||||
|
// Protocol specific account information.
|
||||||
v2ray.core.common.loader.TypedSettings account = 3;
|
v2ray.core.common.loader.TypedSettings account = 3;
|
||||||
}
|
}
|
Loading…
Reference in New Issue