mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-10 14:26:26 -05:00
21 lines
484 B
Go
21 lines
484 B
Go
package environment
|
|
|
|
import (
|
|
"github.com/v2fly/v2ray-core/v4/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()
|
|
}
|