mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-10 06:16:53 -05:00
19 lines
426 B
Go
19 lines
426 B
Go
package environment
|
|
|
|
import (
|
|
"github.com/v2fly/v2ray-core/v5/features/extension/storage"
|
|
)
|
|
|
|
type TransportEnvironmentCapacitySet interface {
|
|
BaseEnvironmentCapabilitySet
|
|
SystemNetworkCapabilitySet
|
|
InstanceNetworkCapabilitySet
|
|
TransientStorage() storage.ScopedTransientStorage
|
|
}
|
|
|
|
type TransportEnvironment interface {
|
|
TransportEnvironmentCapacitySet
|
|
NarrowScope(key []byte) (TransportEnvironment, error)
|
|
doNotImpl()
|
|
}
|