mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-08-21 20:04:51 -04:00
20 lines
444 B
Go
20 lines
444 B
Go
|
package environment
|
||
|
|
||
|
import "github.com/v2fly/v2ray-core/v4/features/extension"
|
||
|
|
||
|
type ProxyEnvironmentCapabilitySet interface {
|
||
|
BaseEnvironmentCapabilitySet
|
||
|
InstanceNetworkCapabilitySet
|
||
|
|
||
|
TransientStorage() extension.ScopedTransientStorage
|
||
|
}
|
||
|
|
||
|
type ProxyEnvironment interface {
|
||
|
ProxyEnvironmentCapabilitySet
|
||
|
|
||
|
NarrowScope(key []byte) (ProxyEnvironment, error)
|
||
|
NarrowScopeToTransport(key []byte) (TransportEnvironment, error)
|
||
|
|
||
|
doNotImpl()
|
||
|
}
|