Documentation
¶
Index ¶
- func BuildBody(from string, to string, subject string, body *bytes.Buffer) []byte
- func BuildTemplate(tmpl models.Template, name string, data map[string]interface{}) (*bytes.Buffer, error)
- func FindTemplate(name string) (*models.Template, error)
- func Handle(body string) error
- func Send(to string, subject string, body []byte) error
- type Payload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildTemplate ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.