email

package
v0.0.0-...-7c54f9f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2024 License: MIT Imports: 2 Imported by: 0

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 (s *ResendService) SendMagicLink(to, token string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL