Documentation
¶
Overview ¶
@Title client.go @Description 客户端 @Author loveward 2020/12/28 12:33
@Title config.go @Description 配置结构体 @Author loveward 2020/12/28 12:36
@Title msg.go @Description 消息结构体 @Author loveward 2020/12/28 12:35
@Title utils.go @Description 工具函数 @Author loveward 2020/12/28 12:37
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RequestMsg ¶
type RespondMsg ¶
type RespondMsg struct {
RequestMsg RequestMsg
Code float64
Data []byte
ReplyFromTopic string
Err error
}
type ZClient ¶
type ZClient struct {
Logger logger.Logger
CallBack func(msg *RequestMsg) (*[]byte, error)
// contains filtered or unexported fields
}
func (*ZClient) SendMsgAndWaitReply ¶
Click to show internal directories.
Click to hide internal directories.