Documentation ¶
Index ¶
- Variables
- func BuildCommonIMContent(event *model.Event) string
- func BuildCommonMailContent(event *model.Event) string
- func BuildCommonSMSContent(event *model.Event) string
- func Callback(event *model.Event, action *api.Action) string
- func CleanExpiredEvent()
- func CombineIM()
- func CombineMail()
- func CombineSms()
- func ConsumeIM()
- func ConsumeMail()
- func ConsumeSms()
- func GenerateIMContent(event *model.Event) string
- func GenerateMailContent(event *model.Event) string
- func GenerateSmsContent(event *model.Event) string
- func HandleCallback(event *model.Event, action *api.Action)
- func InitSenderWorker()
- func ParseUserIm(event *cmodel.Event, action *api.Action)
- func ParseUserMail(event *cmodel.Event, action *api.Action)
- func ParseUserSms(event *cmodel.Event, action *api.Action)
- func ReadHighEvent()
- func ReadLowEvent()
- func SendIM(im *model.IM)
- func SendIMList(L []*model.IM)
- func SendMail(mail *model.Mail)
- func SendMailList(L []*model.Mail)
- func SendSms(sms *model.Sms)
- func SendSmsList(L []*model.Sms)
- type ImDto
- type MailDto
- type SmsDto
Constants ¶
This section is empty.
Variables ¶
View Source
var ( IMWorkerChan chan int SmsWorkerChan chan int MailWorkerChan chan int )
Functions ¶
func BuildCommonIMContent ¶
func BuildCommonMailContent ¶
func BuildCommonSMSContent ¶
func CleanExpiredEvent ¶
func CleanExpiredEvent()
func CombineMail ¶
func CombineMail()
func CombineSms ¶
func CombineSms()
func ConsumeMail ¶
func ConsumeMail()
func ConsumeSms ¶
func ConsumeSms()
func GenerateIMContent ¶
func GenerateMailContent ¶
func GenerateSmsContent ¶
func InitSenderWorker ¶
func InitSenderWorker()
func ReadHighEvent ¶
func ReadHighEvent()
func ReadLowEvent ¶
func ReadLowEvent()
func SendIMList ¶
func SendMailList ¶
func SendSmsList ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.