1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-27 04:27:20 -05:00
v2fly/common/environment/proxy.go
2022-01-02 15:16:23 +00:00

19 lines
452 B
Go

package environment
import (
"github.com/v2fly/v2ray-core/v5/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()
}