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 UserServiceClient ¶
type UserServiceClient struct {
// contains filtered or unexported fields
}
UserServiceClient 用户服务的SDJ
func NewUserServiceClientFromCfg ¶
func NewUserServiceClientFromCfg() (*UserServiceClient, error)
NewUserServiceClientFromCfg 从配置文件读取注册中心配置
func NewUserServiceClientFromEnv ¶
func NewUserServiceClientFromEnv() (*UserServiceClient, error)
NewUserServiceClientFromEnv 从环境变量读取注册中心配置
func (*UserServiceClient) RelationService ¶
func (c *UserServiceClient) RelationService() relation.ServiceClient
RelationService 将服务端关系模块完整的接口暴露给外界调用,也可以做精细化控制
func (*UserServiceClient) UserService ¶
func (c *UserServiceClient) UserService() user.ServiceClient
UserService 将服务端用户模块完整的接口暴露给外界调用,也可以做精细化控制
Click to show internal directories.
Click to hide internal directories.