1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-17 18:06:15 -05:00
v2fly/common/environment/proxy.go

17 lines
396 B
Go
Raw Normal View History

2021-06-24 11:28:08 -04:00
package environment
type ProxyEnvironmentCapabilitySet interface {
BaseEnvironmentCapabilitySet
InstanceNetworkCapabilitySet
2022-02-06 16:53:15 -05:00
TransientStorageCapabilitySet
2021-06-24 11:28:08 -04:00
}
2022-04-12 16:26:24 -04:00
// TODO Add NarrowScopeToConnection
2021-06-24 11:28:08 -04:00
type ProxyEnvironment interface {
ProxyEnvironmentCapabilitySet
2022-02-06 16:53:15 -05:00
NarrowScope(key string) (ProxyEnvironment, error)
NarrowScopeToTransport(key string) (TransportEnvironment, error)
2021-06-24 11:28:08 -04:00
doNotImpl()
}