Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendMailHtml ¶
Types ¶
type MailContext ¶
type MailContext struct { UserFrom string UserAuth string Password string MailListReport []string MailListAlarm []string MailListDev []string Identify string SmtpPort string SmtpHost string }
func InitMailContext ¶
func InitMailContext(userFrom, userAuth, password, identify, smtpHost, smtpPort string, mailListReport, mailListAlarm, mailListDev []string) *MailContext
func NewMailContext ¶
func NewMailContext(a MailContext) *MailContext
type NodeNamePrefix ¶
type NodeNamePrefix string
const ( NodeNamePrefixPub NodeNamePrefix = "p" NodeNamePrefixDev NodeNamePrefix = "d" )
Click to show internal directories.
Click to hide internal directories.