mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-11 23:47:32 +08:00
feat: Updated pkg/rpcclient/auth.go
This commit is contained in:
parent
f348faf567
commit
e7daec0f48
@ -30,8 +30,8 @@ func NewAuth(discov discoveryregistry.SvcDiscoveryRegistry) *Auth {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
client := auth.NewAuthClient(conn)
|
client := auth.NewAuthClient(conn.(dubbo-go.ClientConnInterface))
|
||||||
return &Auth{discov: discov, conn: conn, Client: client}
|
return &Auth{discov: discov, conn: conn.(dubbo-go.ClientConnInterface), Client: client}
|
||||||
}
|
}
|
||||||
|
|
||||||
type Auth struct {
|
type Auth struct {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user