Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailProvider ¶
EmailProvider sends transactional emails. Implementations: SESProvider (production), NoopProvider (dev/test).
type NoopProvider ¶
type NoopProvider struct{}
NoopProvider logs emails to stderr. Used in development and tests so the invitation flow can be exercised without an AWS account.
type SESProvider ¶
type SESProvider struct {
// contains filtered or unexported fields
}
SESProvider sends email via AWS SES.
func NewSESProvider ¶
func NewSESProvider(cfg aws.Config, fromAddress string) *SESProvider
NewSESProvider constructs an SESProvider from an AWS config and a verified sender address.
Click to show internal directories.
Click to hide internal directories.