Documentation ¶
Index ¶
- Variables
- func CloseProducer()
- func GetProducer(configName string) (conn rocketmq.Producer)
- func LogDebug()
- func LogError()
- func LogInfo()
- func LogWarn()
- func NewConsumer(configName, groupID string, option ...consumer.Option) rocketmq.PushConsumer
- func NewProducer(configName string, option ...producer.Option) rocketmq.Producer
- type RocketMQConfig
Constants ¶
This section is empty.
Variables ¶
View Source
var ProducerPool sync.Map
Functions ¶
func NewConsumer ¶
NewConsumer 初始化消费者
func NewProducer ¶
NewProducer 初始化生产者
Types ¶
Click to show internal directories.
Click to hide internal directories.