mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-06 10:05:58 +08:00
conn
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
|
||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/a2r"
|
||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/config"
|
||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/common/log"
|
||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/discoveryregistry"
|
||||
"github.com/OpenIMSDK/Open-IM-Server/pkg/proto/auth"
|
||||
"github.com/gin-gonic/gin"
|
||||
@@ -16,6 +17,7 @@ func NewAuth(c discoveryregistry.SvcDiscoveryRegistry) *Auth {
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
log.ZInfo(context.Background(), "auth rpc conn", "conn", conn)
|
||||
return &Auth{conn: conn}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user