mirror of
https://github.com/wyx2685/V2bX.git
synced 2026-02-04 20:50:09 +00:00
update deps
This commit is contained in:
@@ -22,6 +22,10 @@ type HookServer struct {
|
||||
counter sync.Map
|
||||
}
|
||||
|
||||
func (h *HookServer) ModeList() []string {
|
||||
return nil
|
||||
}
|
||||
|
||||
func NewHookServer(logger log.Logger) *HookServer {
|
||||
return &HookServer{
|
||||
logger: logger,
|
||||
|
||||
@@ -20,6 +20,7 @@ import (
|
||||
"github.com/sagernet/sing/common"
|
||||
E "github.com/sagernet/sing/common/exceptions"
|
||||
F "github.com/sagernet/sing/common/format"
|
||||
"github.com/sagernet/sing/service"
|
||||
"github.com/sagernet/sing/service/pause"
|
||||
)
|
||||
|
||||
@@ -68,6 +69,7 @@ func New(c *conf.CoreConfig) (vCore.Core, error) {
|
||||
},
|
||||
}
|
||||
ctx := context.Background()
|
||||
ctx = service.ContextWithDefaultRegistry(ctx)
|
||||
ctx = pause.ContextWithDefaultManager(ctx)
|
||||
createdAt := time.Now()
|
||||
experimentalOptions := common.PtrValueOrDefault(options.Experimental)
|
||||
|
||||
Reference in New Issue
Block a user