Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsTokensEmpty ¶
Types ¶
type Dingtalk ¶
type Dingtalk struct { Ding *ding.DingTalk Tokens []string // Tokens 单个机器人有单位时间内消息条数的限制,如果有需要可以初始化多个token,发消息时随机发给其中一个机器人。 AtMobiles []string // 可选参数 @指定群成员 AtAll bool // 可选参数 @所有人 Range string // 漏洞通知范围,默认 high,critical }
func (*Dingtalk) IsAtMobilesEmpty ¶
func (*Dingtalk) MarkdownText ¶
func (*Dingtalk) SendMarkDownMessageBySlice ¶
Click to show internal directories.
Click to hide internal directories.