This commit is contained in:
wangchuxiao
2023-06-20 21:15:23 +08:00
parent 84afa86db2
commit 5e634ac91f
10 changed files with 150 additions and 167 deletions
+2 -2
View File
@@ -26,8 +26,8 @@ type Auth struct {
discov discoveryregistry.SvcDiscoveryRegistry
}
func (o *Auth) Client(ctx context.Context) (auth.AuthClient, error) {
return o.client, nil
func (o *Auth) Client() auth.AuthClient {
return o.client
}
func (o *Auth) UserToken(c *gin.Context) {