mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-27 04:27:20 -05:00
19 lines
452 B
Go
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()
|
|
}
|