Browse Source

comments

pull/861/head
Darien Raymond 7 years ago
parent
commit
c4f1e10a3d
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
  1. 1
      v2ray.go

1
v2ray.go

@ -114,6 +114,7 @@ func (s *Instance) Close() error {
} }
// Start starts the V2Ray instance, including all registered features. When Start returns error, the state of the instance is unknown. // Start starts the V2Ray instance, including all registered features. When Start returns error, the state of the instance is unknown.
// A V2Ray instance can be started only once. Upon closing, the instance is not guaranteed to start again.
func (s *Instance) Start() error { func (s *Instance) Start() error {
s.access.Lock() s.access.Lock()
defer s.access.Unlock() defer s.access.Unlock()

Loading…
Cancel
Save