日志发送逻辑及测试消息发送接口
This commit is contained in:
@@ -14,11 +14,13 @@ type NotifierType string
|
||||
|
||||
const (
|
||||
// NotifierTypeSMTP 表示 SMTP 邮件通知器。
|
||||
NotifierTypeSMTP NotifierType = "邮件"
|
||||
NotifierTypeSMTP NotifierType = "smtp"
|
||||
// NotifierTypeWeChat 表示企业微信通知器。
|
||||
NotifierTypeWeChat NotifierType = "企业微信"
|
||||
NotifierTypeWeChat NotifierType = "wechat"
|
||||
// NotifierTypeLark 表示飞书通知器。
|
||||
NotifierTypeLark NotifierType = "飞书"
|
||||
NotifierTypeLark NotifierType = "lark"
|
||||
// NotifierTypeLog 表示日志通知器,作为最终的告警记录渠道。
|
||||
NotifierTypeLog NotifierType = "log"
|
||||
)
|
||||
|
||||
// AlarmContent 定义了通知的内容
|
||||
|
||||
Reference in New Issue
Block a user