Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config holds configuration options for the service.
type ConfigOption ¶
type ConfigOption func(*service)
ConfigOption configures the service.
func WithConfig ¶
func WithConfig(config Config) ConfigOption
WithConfig configures the service with a Config.
func WithDefaults ¶
func WithDefaults(serverAddr, fromAddr string, auth smtp.Auth) ConfigOption
WithDefaults configures the service with a default mailer (net/smtp)
Click to show internal directories.
Click to hide internal directories.