mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-13 04:46:40 -05:00
20 lines
444 B
Go
20 lines
444 B
Go
package environment
|
|
|
|
import "github.com/v2fly/v2ray-core/v4/features/extension"
|
|
|
|
type ProxyEnvironmentCapabilitySet interface {
|
|
BaseEnvironmentCapabilitySet
|
|
InstanceNetworkCapabilitySet
|
|
|
|
TransientStorage() extension.ScopedTransientStorage
|
|
}
|
|
|
|
type ProxyEnvironment interface {
|
|
ProxyEnvironmentCapabilitySet
|
|
|
|
NarrowScope(key []byte) (ProxyEnvironment, error)
|
|
NarrowScopeToTransport(key []byte) (TransportEnvironment, error)
|
|
|
|
doNotImpl()
|
|
}
|