Documentation ¶
Index ¶
Constants ¶
View Source
const TemplateExpiration = 10 * time.Second
TemplateExpiration is the time period that the template will be cached for
View Source
const TemplateRetries = 3
TemplateRetries is the amount of time MailMe will try to fetch a URL before giving up
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MailTemplate ¶
type MailTemplate struct {
// contains filtered or unexported fields
}
type Mailer ¶
type Mailer struct { From string Host string Port int User string Pass string BaseURL string LocalName string Insecure bool FuncMap template.FuncMap Logger logrus.FieldLogger // contains filtered or unexported fields }
Mailer lets MailMe send templated mails
type TemplateCache ¶
type TemplateCache struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.