Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Send2DingTalk ¶
func Send2DingTalk(content []common.Ready2Send, isRecover bool, sendTime string, url string, secret string)
Send2DingTalk 用来向钉钉软件发送告警和恢复
Types ¶
type DingTalkMarkdownMsg ¶
DingTalkMarkdownMsg the dingTalk markdown request body model
type DingTalkMsg ¶
type DingTalkMsg struct { Type string `json:"msgtype"` Markdown DingTalkMarkdownMsg `json:"markdown"` }
DingTalkMessage the dingTalk request body model
Click to show internal directories.
Click to hide internal directories.