refactor: Modular inbounds/outbounds

This commit is contained in:
世界
2025-01-11 21:21:22 +08:00
parent 007b19d768
commit b3efa1124e
152 changed files with 3116 additions and 2926 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ func createPreStartedClient() (*box.Box, error) {
return nil, err
}
}
instance, err := box.New(box.Options{Options: options})
instance, err := box.New(box.Options{Context: globalCtx, Options: options})
if err != nil {
return nil, E.Cause(err, "create service")
}