conversation

This commit is contained in:
wangchuxiao
2023-05-12 16:45:50 +08:00
parent 01ccb6f404
commit 7456d3e8c0
12 changed files with 1824 additions and 1221 deletions
-3
View File
@@ -2,7 +2,6 @@ package api
import (
"context"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/log"
"github.com/OpenIMSDK/Open-IM-Server/pkg/a2r"
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
@@ -22,9 +21,7 @@ type Auth struct {
}
func (o *Auth) client(ctx context.Context) (auth.AuthClient, error) {
log.ZDebug(ctx, "before get grpc conn from zk registry")
conn, err := o.c.GetConn(ctx, config.Config.RpcRegisterName.OpenImAuthName)
log.ZDebug(ctx, "after get grpc conn from zk registry")
if err != nil {
return nil, err
}