template

package
Version: v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2016 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package template builds commonly used emails filled in with custom information. The email templates from this package are only used by Abot core. Templates used by plugins should be included in the plugin itself.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForgotPasswordEmail

func ForgotPasswordEmail(name, secret string) string

ForgotPasswordEmail takes a user's name and a secret token stored in the database and returns an HTML-format email.

func GenericEmail added in v0.2.0

func GenericEmail(name, paragraphs []string) string

GenericEmail wraps Abot's response with typical email boilerplate, like a greeting (e.g. "Hi Jeff:") and a signature.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL