mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
21 lines
484 B
Go
21 lines
484 B
Go
package environment
|
|
|
|
import (
|
|
"github.com/v2fly/v2ray-core/v5/features/extension/storage"
|
|
)
|
|
|
|
type AppEnvironmentCapabilitySet interface {
|
|
BaseEnvironmentCapabilitySet
|
|
SystemNetworkCapabilitySet
|
|
InstanceNetworkCapabilitySet
|
|
FileSystemCapabilitySet
|
|
PersistentStorage() storage.ScopedPersistentStorage
|
|
TransientStorage() storage.ScopedTransientStorage
|
|
}
|
|
|
|
type AppEnvironment interface {
|
|
AppEnvironmentCapabilitySet
|
|
NarrowScope(key []byte) (AppEnvironment, error)
|
|
doNotImpl()
|
|
}
|