Quellcode durchsuchen

comments for typed messages

Darien Raymond vor 7 Jahren
Ursprung
Commit
c5d356545e

+ 1 - 1
common/protocol/user.proto

@@ -13,6 +13,6 @@ message User {
   uint32 level = 1;
   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;
 }

+ 2 - 1
transport/internet/config.proto

@@ -19,7 +19,7 @@ message TransportConfig {
   // Type of network that this settings supports.
   TransportProtocol protocol = 1;
 
-  // Specific settings.
+  // Specific settings. Must be of the transports.
   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.
   string security_type = 3;
   
+  // Settings for transport security. For now the only choice is TLS.
   repeated v2ray.core.common.serial.TypedMessage security_settings = 4;
 }
 

+ 1 - 1
transport/internet/tcp/config.proto

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