Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type RawTemplate ¶
type SendInput ¶
type SendInput struct { Template TemplateName TemplateData map[string]string To string }
type Template ¶
func GetTemplate ¶
func GetTemplate(name TemplateName, data map[string]string) (*Template, error)
type TemplateName ¶
type TemplateName string
const ( TemplateInvite TemplateName = "invite" TemplatePasswordRecovery TemplateName = "password_recovery" TemplateSubscriptionStart TemplateName = "subscription_start" TemplateTrialEnd TemplateName = "trial_end" TemplateTrialEnding TemplateName = "trial_ending" TemplateTrialMidway TemplateName = "trial_midway" TemplateTrialStart TemplateName = "trial_start" TemplateWelcome TemplateName = "welcome" )
Click to show internal directories.
Click to hide internal directories.