Documentation ¶
Overview ¶
Copyright 2019-2020 Axetroy. All rights reserved. MIT license.
Copyright 2019-2020 Axetroy. All rights reserved. MIT license.
Copyright 2019-2020 Axetroy. All rights reserved. MIT license.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TopicSendEmail Topic = "send_email" ChanelSendEmail Chanel = "send_email" Address string // 消息队列地址 Config *nsq.Config // 消息队列的配置 )
Functions ¶
func CreateConsumer ¶
创建消费者
func RunMessageQueueConsumer ¶
func RunMessageQueueConsumer() (*nsq.Consumer, error)
Types ¶
type SendActivationEmailBody ¶
Click to show internal directories.
Click to hide internal directories.