Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailService ¶
type EmailService struct {
// contains filtered or unexported fields
}
func NewEmailService ¶
func NewEmailService(emailSender Sender) *EmailService
func (*EmailService) SendMagicLinkEmail ¶
type ResendSender ¶ added in v0.3.0
type ResendSender struct {
// contains filtered or unexported fields
}
ResendSender sends magic link emails via the Resend API.
func NewResendSender ¶ added in v0.3.0
func NewResendSender(apiKey, fromAddr, baseURL string) *ResendSender
NewResendSender creates a ResendSender using the given API key, from address, and public API base URL.
func (*ResendSender) SendMagicLinkEmail ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.