github.com/imannamdari/v2ray-core/v5@v5.0.5/common/environment/proxy.go (about)

     1  package environment
     2  
     3  type ProxyEnvironmentCapabilitySet interface {
     4  	BaseEnvironmentCapabilitySet
     5  	InstanceNetworkCapabilitySet
     6  	TransientStorageCapabilitySet
     7  }
     8  
     9  // TODO Add NarrowScopeToConnection
    10  
    11  type ProxyEnvironment interface {
    12  	ProxyEnvironmentCapabilitySet
    13  	NarrowScope(key string) (ProxyEnvironment, error)
    14  	NarrowScopeToTransport(key string) (TransportEnvironment, error)
    15  	doNotImpl()
    16  }