Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Provider string `long:"provider" description:"Email provider"` APIKey string `long:"api_key" description:"Email provider API key"` BaseURL string `long:"base_url" description:"Base URL for the application"` }
Config holds the email configuration.
func DefaultConfig ¶
func DefaultConfig() *Config
DefaultConfig returns all default values for the Config struct.
type ResendService ¶
type ResendService struct {
// contains filtered or unexported fields
}
func NewResendService ¶
func NewResendService(logger *slog.Logger, cfg *Config) *ResendService
func (*ResendService) SendMagicLink ¶
func (s *ResendService) SendMagicLink(to, token string) error
Click to show internal directories.
Click to hide internal directories.