Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
DarienRaymond committed Oct 16, 2018
1 parent 5c112c2 commit be56fee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit be56fee

Please sign in to comment.