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