refactor: Modular inbounds/outbounds

This commit is contained in:
世界
2024-12-10 10:31:02 +08:00
parent 21841c9434
commit 8f288ce168
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")
}