Browse Source

comments for typed messages

pull/861/head
Darien Raymond 7 years ago
parent
commit
c5d356545e
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
  1. 2
      common/protocol/user.proto
  2. 3
      transport/internet/config.proto
  3. 2
      transport/internet/tcp/config.proto

2
common/protocol/user.proto

@ -13,6 +13,6 @@ message User {
uint32 level = 1; uint32 level = 1;
string email = 2; string email = 2;
// Protocol specific account information. // Protocol specific account information. Must be the account proto in one of the proxies.
v2ray.core.common.serial.TypedMessage account = 3; v2ray.core.common.serial.TypedMessage account = 3;
} }

3
transport/internet/config.proto

@ -19,7 +19,7 @@ message TransportConfig {
// Type of network that this settings supports. // Type of network that this settings supports.
TransportProtocol protocol = 1; TransportProtocol protocol = 1;
// Specific settings. // Specific settings. Must be of the transports.
v2ray.core.common.serial.TypedMessage settings = 2; v2ray.core.common.serial.TypedMessage settings = 2;
} }
@ -32,6 +32,7 @@ message StreamConfig {
// Type of security. Must be a message name of the settings proto. // Type of security. Must be a message name of the settings proto.
string security_type = 3; string security_type = 3;
// Settings for transport security. For now the only choice is TLS.
repeated v2ray.core.common.serial.TypedMessage security_settings = 4; repeated v2ray.core.common.serial.TypedMessage security_settings = 4;
} }

2
transport/internet/tcp/config.proto

@ -11,4 +11,4 @@ import "v2ray.com/core/common/serial/typed_message.proto";
message Config { message Config {
reserved 1; reserved 1;
v2ray.core.common.serial.TypedMessage header_settings = 2; v2ray.core.common.serial.TypedMessage header_settings = 2;
} }

Loading…
Cancel
Save