This commit is contained in:
Darien Raymond committed 2018-12-03 22:44:42 +01:00
1 parent 05f8de1b8f
commit 28fa84ce69
11 files changed
+60

No files matched your search

+2
View File
@@ -303,6 +303,8 @@ func (s *Instance) GetFeature(featureType interface{}) features.Feature {
// 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.
//
// v2ray:api:stable
func (s *Instance) Start() error {
s.access.Lock()
defer s.access.Unlock()