From 3d8f837c07595a5b66bf110bd971e96fb15d106e Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Fri, 16 Feb 2018 14:04:02 +0100 Subject: [PATCH] comments --- config.go | 1 + config.pb.go | 2 +- config.proto | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config.go b/config.go index fc45ac1ab..345af0c5e 100644 --- a/config.go +++ b/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 diff --git a/config.pb.go b/config.pb.go index ac34e2404..f63e1f5ab 100644 --- a/config.pb.go +++ b/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"` diff --git a/config.proto b/config.proto index 31bfb64b7..de8461f45 100644 --- a/config.proto +++ b/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;