mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-09-12 06:54:23 -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()
|
|
}
|