mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-11-09 02:13:01 -08:00
API doc
This commit is contained in:
11 files changed
+60
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user