Documentation
¶
Overview ¶
Package resend adapts the Resend API to the core email sender port.
New constructs a client from an API key, LoadConfig reads contrib environment configuration, and HealthChecker can be used by services that want readiness visibility for outbound email delivery.
Keep API keys in secret storage and use test or no-op senders in local tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HealthChecker ¶
func HealthChecker(cfg Config, client *http.Client) ports.HealthChecker
HealthChecker returns a Resend health checker or nil when disabled.
Types ¶
type Config ¶
Config describes Resend email integration.
func LoadConfig ¶
LoadConfig reads Resend config from environment.
type Option ¶
type Option func(*Client)
Option customizes Client behavior.
func WithBaseURL ¶
WithBaseURL overrides the Resend API base URL.
func WithHTTPClient ¶
WithHTTPClient overrides the HTTP client used for requests.
Click to show internal directories.
Click to hide internal directories.