This commit is contained in:
wangchuxiao
2023-03-14 15:35:58 +08:00
parent d0211ebd89
commit 6afb47ba06
6 changed files with 26 additions and 31 deletions
-2
View File
@@ -5,7 +5,6 @@ import (
"OpenIM/pkg/common/cmd"
"OpenIM/pkg/common/config"
"OpenIM/pkg/common/log"
"OpenIM/pkg/common/mw"
"context"
"errors"
"fmt"
@@ -34,7 +33,6 @@ func run(port int) error {
return err
}
log.NewPrivateLog(constant.LogFileName)
zk.AddOption(mw.GrpcClient())
router := api.NewGinRouter(zk)
var address string
if config.Config.Api.ListenIP != "" {