This commit is contained in:
wangchuxiao
2023-06-07 15:06:50 +08:00
parent da3f9670e9
commit 74ea708893
7 changed files with 35 additions and 37 deletions
+5 -5
View File
@@ -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 {