From be56feead372b69478a0c647d4133e6c2b87fff1 Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Tue, 16 Oct 2018 14:23:10 +0200 Subject: [PATCH] comments --- functions.go | 1 + 1 file changed, 1 insertion(+) diff --git a/functions.go b/functions.go index 4049f3316..716bcb1ec 100644 --- a/functions.go +++ b/functions.go @@ -18,6 +18,7 @@ func CreateObject(v *Instance, config interface{}) (interface{}, error) { } // StartInstance starts a new V2Ray instance with given serialized config. +// By default V2Ray only support config in protobuf format, i.e., configFormat = "protobuf". Caller need to load other packages to add JSON support. func StartInstance(configFormat string, configBytes []byte) (*Instance, error) { var mb buf.MultiBuffer common.Must2(mb.Write(configBytes))