Add resolver for outbound dialer

This commit is contained in:
世界
2022-07-07 21:47:21 +08:00
parent ecac383477
commit 538a1f5909
32 changed files with 1058 additions and 222 deletions

View File

@@ -30,7 +30,7 @@ func checkConfiguration(cmd *cobra.Command, args []string) {
logrus.Fatal("decode config: ", err)
}
ctx, cancel := context.WithCancel(context.Background())
_, err = box.NewService(ctx, options)
_, err = box.New(ctx, options)
if err != nil {
logrus.Fatal("create service: ", err)
}