Documentation ¶
Overview ¶
通知发送 目前支持邮件和 alertover
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alertover ¶
type Alertover struct {
// contains filtered or unexported fields
}
Alertover contain a source Alertover website: https://www.alertover.com/
func NewAlertover ¶
NewAlertover create a Alertover instance
type EmailNotifier ¶
type EmailNotifier struct {
// contains filtered or unexported fields
}
EmailNotifier has param SMTPHost, SMTP account
func NewEmailNotifier ¶
func NewEmailNotifier(host, from, password string) (*EmailNotifier, error)
NewEmailNotifier create a EmailNotifier instance host 邮箱 stmp 地址 from 邮箱地址 password 邮箱密码
Click to show internal directories.
Click to hide internal directories.