mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-10 06:16:53 -05:00
17 lines
396 B
Go
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()
|
|
}
|