Documentation
¶
Index ¶
- Variables
- func AddTemplate(key string, subject string, htmlBody string, plainBody string) error
- func Configure(m Mailer)
- func RegisterTemplate(keys ...string) error
- func Send(to *Address, templateKey string, vars *MergeVars) error
- type Address
- type Config
- type Content
- type Mailer
- type MergeVars
- type Template
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TemplateDir string Templates map[string]*Template )
Functions ¶
func AddTemplate ¶
func RegisterTemplate ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.