mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-01 07:35:58 +08:00
conn
This commit is contained in:
@@ -12,11 +12,11 @@ import (
|
||||
)
|
||||
|
||||
func NewAuth(discov discoveryregistry.SvcDiscoveryRegistry) *Auth {
|
||||
conn, err := discov.GetConn(context.Background(), config.Config.RpcRegisterName.OpenImAuthName)
|
||||
if err != nil {
|
||||
// panic(err)
|
||||
}
|
||||
return &Auth{conn: conn, discov: discov}
|
||||
// conn, err := discov.GetConn(context.Background(), config.Config.RpcRegisterName.OpenImAuthName)
|
||||
// if err != nil {
|
||||
// panic(err)
|
||||
// }
|
||||
return &Auth{discov: discov}
|
||||
}
|
||||
|
||||
type Auth struct {
|
||||
|
||||
Reference in New Issue
Block a user