mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-02 15:36:41 -05:00
comments
This commit is contained in:
parent
b81d091fb8
commit
f049b3cc2b
@ -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;
|
||||
}
|
||||
}
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user