Documentation ¶
Index ¶
- func AlertEMail(wg *sync.WaitGroup, mysql *xorm.Engine, alert_id int, retries int, ...)
- func AlertSMS(wg *sync.WaitGroup, mysql *xorm.Engine, alert_id int, retries int, ...)
- func AlertWeChat(wg *sync.WaitGroup, mysql *xorm.Engine, alert_id int, retries int, ...)
- func Dial(addr string) (*smtp.Client, error)
- func GetMailContent(mysql *xorm.Engine, alert_id int) string
- func GetSMTPHost(mysql *xorm.Engine) string
- func GetSMTPPassword(mysql *xorm.Engine) string
- func GetSMTPPort(mysql *xorm.Engine) string
- func GetSMTPUser(mysql *xorm.Engine) string
- func GetSendFrom(mysql *xorm.Engine) string
- func GetSendMailGlobal(mysql *xorm.Engine) string
- func SendMailUsingTLS(addr string, auth smtp.Auth, from string, to []string, msg []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlertEMail ¶
func AlertWeChat ¶
func GetSMTPHost ¶
func GetSMTPPassword ¶
func GetSMTPPort ¶
func GetSMTPUser ¶
func GetSendFrom ¶
func GetSendMailGlobal ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.