1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 01:57:12 -05:00
v2fly/common/environment/proxy.go
2022-04-28 19:32:55 +01:00

17 lines
396 B
Go

package environment
type ProxyEnvironmentCapabilitySet interface {
BaseEnvironmentCapabilitySet
InstanceNetworkCapabilitySet
TransientStorageCapabilitySet
}
// TODO Add NarrowScopeToConnection
type ProxyEnvironment interface {
ProxyEnvironmentCapabilitySet
NarrowScope(key string) (ProxyEnvironment, error)
NarrowScopeToTransport(key string) (TransportEnvironment, error)
doNotImpl()
}