Versions in this module Expand all Collapse all v1 v1.0.1 Nov 22, 2018 v1.0.0 Nov 8, 2018 Changes in this version + func CheckCron(cronTab string) (string, error) + func Send(subject, content string) error + func SendMessage(s Notice) error + type EmailClient struct + Message *Message + Type string + type Message struct + Attach string + Cc []string + Content string + ContentType string + FromName string + SelfHostFrom string + SendCloudFrom string + Subject string + To []string + type Notice interface + SendMessage func() error + type SelfHostMail struct + Host string + Password string + Port int + Username string + type SendCloudMail struct + APIKey string + APIUrl string + APIUser string + Template string + type SendMail struct + Client *EmailClient + func NewSendMail(subject, content string) *SendMail + func (s *SendMail) SendMessage() error + type SendWeixin struct + Content string + func NewSendWeixin(content string) *SendWeixin + func (s *SendWeixin) SendMessage() error