feat: add unix socket api(set debug)

This commit is contained in:
loveuer
2024-08-05 17:43:41 +08:00
parent eea192e385
commit f9d59b99a0
8 changed files with 23 additions and 20 deletions

View File

@ -13,7 +13,7 @@ func Start(ctx context.Context) error {
ready := make(chan bool)
defer close(ready)
uri, err := url.Parse(opt.Cfg.Listen.Unix)
uri, err := url.Parse(opt.RpcAddress)
if err != nil {
return err
}