1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-10 14:26:26 -05:00
v2fly/common/environment/app.go

21 lines
484 B
Go
Raw Normal View History

2021-06-24 11:28:08 -04:00
package environment
import (
"github.com/v2fly/v2ray-core/v5/features/extension/storage"
2021-06-24 11:28:08 -04:00
)
type AppEnvironmentCapabilitySet interface {
BaseEnvironmentCapabilitySet
SystemNetworkCapabilitySet
InstanceNetworkCapabilitySet
FileSystemCapabilitySet
2021-09-05 10:36:57 -04:00
PersistentStorage() storage.ScopedPersistentStorage
TransientStorage() storage.ScopedTransientStorage
2021-06-24 11:28:08 -04:00
}
type AppEnvironment interface {
AppEnvironmentCapabilitySet
NarrowScope(key []byte) (AppEnvironment, error)
doNotImpl()
}