feat: Updated pkg/rpcclient/auth.go

pull/1227/head
sweep-ai[bot] 2 years ago committed by GitHub
parent f491d46737
commit 146b766ab2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -17,7 +17,7 @@ package rpcclient
import ( import (
"context" "context"
"google.golang.org/grpc" "github.com/apache/dubbo-go"
"github.com/OpenIMSDK/protocol/auth" "github.com/OpenIMSDK/protocol/auth"
"github.com/OpenIMSDK/tools/discoveryregistry" "github.com/OpenIMSDK/tools/discoveryregistry"
@ -35,7 +35,7 @@ func NewAuth(discov discoveryregistry.SvcDiscoveryRegistry) *Auth {
} }
type Auth struct { type Auth struct {
conn grpc.ClientConnInterface conn dubbo-go.ClientConnInterface
Client auth.AuthClient Client auth.AuthClient
discov discoveryregistry.SvcDiscoveryRegistry discov discoveryregistry.SvcDiscoveryRegistry
} }

Loading…
Cancel
Save