Darien Raymond 7 years ago
parent
commit
3d8f837c07
3 changed files with 3 additions and 2 deletions
  1. 1 0
      config.go
  2. 1 1
      config.pb.go
  3. 1 1
      config.proto

+ 1 - 0
config.go

@@ -9,6 +9,7 @@ import (
 	"v2ray.com/core/common/buf"
 )
 
+// ConfigFormat is a configurable format of V2Ray config file.
 type ConfigFormat struct {
 	Name      string
 	Extension []string

+ 1 - 1
config.pb.go

@@ -17,7 +17,7 @@ var _ = math.Inf
 // proto package needs to be updated.
 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
 
-// Master config of V2Ray. V2Ray takes this config as input and functions accordingly.
+// Config is the master config of V2Ray. V2Ray takes this config as input and functions accordingly.
 type Config struct {
 	// Inbound handler configurations. Must have at least one item.
 	Inbound []*InboundHandlerConfig `protobuf:"bytes,1,rep,name=inbound" json:"inbound,omitempty"`

+ 1 - 1
config.proto

@@ -9,7 +9,7 @@ option java_multiple_files = true;
 import "v2ray.com/core/common/serial/typed_message.proto";
 import "v2ray.com/core/transport/config.proto";
 
-// Master config of V2Ray. V2Ray takes this config as input and functions accordingly.
+// Config is the master config of V2Ray. V2Ray takes this config as input and functions accordingly.
 message Config {
   // Inbound handler configurations. Must have at least one item.
   repeated InboundHandlerConfig inbound = 1;