mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 10:08:15 -05:00
19 lines
417 B
Go
19 lines
417 B
Go
|
package environment
|
||
|
|
||
|
import "github.com/v2fly/v2ray-core/v4/features/extension"
|
||
|
|
||
|
type TransportEnvironmentCapacitySet interface {
|
||
|
BaseEnvironmentCapabilitySet
|
||
|
SystemNetworkCapabilitySet
|
||
|
InstanceNetworkCapabilitySet
|
||
|
|
||
|
TransientStorage() extension.ScopedTransientStorage
|
||
|
}
|
||
|
|
||
|
type TransportEnvironment interface {
|
||
|
TransportEnvironmentCapacitySet
|
||
|
|
||
|
NarrowScope(key []byte) (TransportEnvironment, error)
|
||
|
doNotImpl()
|
||
|
}
|