|
|
@@ -3,6 +3,7 @@ package environment
|
|
|
import (
|
|
|
"github.com/v2fly/v2ray-core/v5/common/environment/filesystemcap"
|
|
|
"github.com/v2fly/v2ray-core/v5/common/log"
|
|
|
+ "github.com/v2fly/v2ray-core/v5/features/extension/storage"
|
|
|
"github.com/v2fly/v2ray-core/v5/transport/internet"
|
|
|
"github.com/v2fly/v2ray-core/v5/transport/internet/tagged"
|
|
|
)
|
|
|
@@ -37,3 +38,10 @@ type LogCapabilitySet interface {
|
|
|
type FileSystemCapabilitySet interface {
|
|
|
filesystemcap.FileSystemCapabilitySet
|
|
|
}
|
|
|
+
|
|
|
+type PersistentStorageCapabilitySet interface {
|
|
|
+ PersistentStorage() storage.ScopedPersistentStorage
|
|
|
+}
|
|
|
+type TransientStorageCapabilitySet interface {
|
|
|
+ TransientStorage() storage.ScopedTransientStorage
|
|
|
+}
|