Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAmbiguousClient = errors.New("ambiguous SMS client")
View Source
var ErrNoAvailableClient = errors.New("no available SMS client")
Functions ¶
This section is empty.
Types ¶
type SendOptions ¶
type TemplateVariables ¶
type TemplateVariables struct { AppName string `json:"app_name,omitempty"` ClientID string `json:"client_id,omitempty"` Code string `json:"code,omitempty"` Email string `json:"email,omitempty"` HasPassword bool `json:"has_password,omitempty"` Host string `json:"host,omitempty"` Link string `json:"link,omitempty"` Password string `json:"password,omitempty"` Phone string `json:"phone,omitempty"` State string `json:"state,omitempty"` UILocales string `json:"ui_locales,omitempty"` URL string `json:"url,omitempty"` XState string `json:"x_state,omitempty"` }
func NewTemplateVariablesFromPreparedTemplateVariables ¶
func NewTemplateVariablesFromPreparedTemplateVariables(v *translation.PreparedTemplateVariables) *TemplateVariables
Click to show internal directories.
Click to hide internal directories.