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: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Consumer 调用消费者执行消费
@param topic string 消费主题
@return kafkaConsumer 返回kafka消费者结构体
func Dispatch(data map[string]interface{}, jobFunc func(topic string))
Dispatch 消息队列
@param data 待消费数据
@param jobFunc 消费者函数
@return 返回一个闭包
SendSms 发送短信队列
@param string topic 消息主题
@return void
Source Files
¶
Click to show internal directories.
Click to hide internal directories.