Documentation
¶
Index ¶
- Variables
- func RenderEmailChangeCodeHTML(code string) (string, error)
- func RenderOrganizationInvitationHTML(orgName, inviteURL, role, expiresAt string) (string, error)
- func RenderPasswordResetCodeHTML(code string) (string, error)
- func RenderSignupCodeHTML(code string) (string, error)
- type LoginAlertPayload
- type Message
- type NoopSender
- type NoopSenderConfig
- type OrganizationInvitationPayload
- type SMTPSender
- type Sender
- type Service
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidOrganizationName = errors.New("invalid organization name")
Functions ¶
func RenderEmailChangeCodeHTML ¶ added in v0.1.15
func RenderOrganizationInvitationHTML ¶ added in v0.1.24
func RenderPasswordResetCodeHTML ¶ added in v0.1.14
func RenderSignupCodeHTML ¶
Types ¶
type LoginAlertPayload ¶
type Message ¶
func BuildEmailChangeCodeMessage ¶ added in v0.1.15
func BuildOrganizationInvitationMessage ¶ added in v0.1.24
func BuildOrganizationInvitationMessage(payload OrganizationInvitationPayload) (Message, error)
func BuildPasswordResetCodeMessage ¶ added in v0.1.14
func BuildSignupCodeMessage ¶
type NoopSender ¶
type NoopSender struct {
// contains filtered or unexported fields
}
func NewNoopSender ¶
func NewNoopSender(cfg NoopSenderConfig) *NoopSender
type NoopSenderConfig ¶
type OrganizationInvitationPayload ¶ added in v0.1.24
type SMTPSender ¶
type SMTPSender struct {
// contains filtered or unexported fields
}
func NewSMTPSender ¶
Click to show internal directories.
Click to hide internal directories.