mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -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()
|
|
}
|