package
Version:
v1.6.0
Opens a new window with list of versions in this module.
Published: Aug 7, 2023
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Send 发送消息到队列
@param string topic 消息主题
@param map[string]interface{} data 消息数据
@return bool error 返回一个bool值和一个错误信息
type Consumer struct {
Topic string
MessageQueue chan []byte
}
Consumer 消费者结构体
Source Files
¶
Click to show internal directories.
Click to hide internal directories.