Documentation ¶ Index ¶ func Push(msg Message) type Ding func (ding *Ding) Send(msg Message) type Mail func (mail *Mail) Send(msg Message) type Message type Notifiable type Slack func (slack *Slack) Send(msg Message) type WebHook func (webHook *WebHook) Send(msg Message) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Push ¶ func Push(msg Message) 把消息推入队列 Types ¶ type Ding ¶ type Ding struct{} func (*Ding) Send ¶ func (ding *Ding) Send(msg Message) type Mail ¶ type Mail struct { } func (*Mail) Send ¶ func (mail *Mail) Send(msg Message) type Message ¶ type Message map[string]interface{} type Notifiable ¶ type Notifiable interface { Send(msg Message) } type Slack ¶ type Slack struct{} func (*Slack) Send ¶ func (slack *Slack) Send(msg Message) type WebHook ¶ type WebHook struct{} func (*WebHook) Send ¶ func (webHook *WebHook) Send(msg Message) Source Files ¶ View all Source files ding.go mail.go notify.go slack.go webhook.go Click to show internal directories. Click to hide internal directories.