Documentation ¶
Overview ¶
@Author: Ciusyan 2023/2/8
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UserCenterClient ¶
type UserCenterClient struct {
// contains filtered or unexported fields
}
func NewUserCenterClientFromCfg ¶
func NewUserCenterClientFromCfg() (*UserCenterClient, error)
NewUserCenterClientFromCfg 从配置文件读取注册中心配置
func NewUserCenterClientFromEnv ¶
func NewUserCenterClientFromEnv() (*UserCenterClient, error)
NewUserCenterClientFromEnv 从环境变量读取注册中心配置
func (*UserCenterClient) UserService ¶
func (c *UserCenterClient) UserService() user.ServiceClient
Click to show internal directories.
Click to hide internal directories.