1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-18 02:16:10 -05:00
v2fly/common/environment/proxy.go
2021-09-05 16:37:27 +01:00

22 lines
455 B
Go

package environment
import (
"github.com/v2fly/v2ray-core/v4/features/extension/storage"
)
type ProxyEnvironmentCapabilitySet interface {
BaseEnvironmentCapabilitySet
InstanceNetworkCapabilitySet
TransientStorage() storage.ScopedTransientStorage
}
type ProxyEnvironment interface {
ProxyEnvironmentCapabilitySet
NarrowScope(key []byte) (ProxyEnvironment, error)
NarrowScopeToTransport(key []byte) (TransportEnvironment, error)
doNotImpl()
}