mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-18 02:16:10 -05:00
22 lines
455 B
Go
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()
|
|
}
|