Versions in this module Expand all Collapse all v0 v0.2.1 Aug 15, 2017 v0.2.0 Jun 18, 2017 Changes in this version + var IMWorkerChan chan int + var MailWorkerChan chan int + var SmsWorkerChan chan int + 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 struct + Content string + IM string + Metric string + Priority int + Status string + type MailDto struct + Content string + Email string + Metric string + Priority int + Status string + Subject string + type SmsDto struct + Content string + Metric string + Phone string + Priority int + Status string