Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailTemplateData ¶
EmailTemplateData preserves the legacy data structure used by the built-in registration/password reset templates. New templates can use any custom data via RenderNamed.
type MailNotification ¶
type Mailer ¶
type Mailer struct {
// contains filtered or unexported fields
}
type Provider ¶
type Provider interface {
Send(ctx context.Context, notify MailNotification) error
}
type Template ¶
type Template struct {
// contains filtered or unexported fields
}
func NewEmailTemplate ¶
func (*Template) AddTemplate ¶
AddTemplate parses and registers an additional template under a given name.
Click to show internal directories.
Click to hide internal directories.