1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-21 09:36:34 -05:00

Add relax capability set type

This commit is contained in:
Shelikhoo 2022-02-07 22:39:02 +00:00 committed by Xiaokang Wang (Shelikhoo)
parent 49ea72d0ed
commit 3b142ae319

View File

@ -2,7 +2,6 @@ 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"
@ -28,11 +27,11 @@ type InstanceNetworkCapabilitySet interface {
}
type FeaturesLookupCapabilitySet interface {
RequireFeatures(callback interface{}) error
RequireFeatures() interface{}
}
type LogCapabilitySet interface {
RecordLog(msg log.Message)
RecordLog() interface{}
}
type FileSystemCapabilitySet interface {