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