Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mailer ¶
type Mailer interface {
SendHTML(from string, recipients, cc, bcc []string, subject string, body string) error
}
func NewMailerFromConfig ¶
func NewMailerFromConfig(config *MailerConfig) Mailer
type MailerConfig ¶
type MailerConfig struct {
SMTP *SMTPConfig `yaml:"smtp"`
}
type Notifier ¶
type Notifier struct {
// contains filtered or unexported fields
}
func NewNotifier ¶
func (*Notifier) SharePlaylist ¶
func (*Notifier) SubscriptionUpdate ¶
type SESMailer ¶
type SESMailer struct {
// contains filtered or unexported fields
}
func NewSESMailer ¶
func NewSESMailer() *SESMailer
type SMTPConfig ¶
type SMTPMailer ¶
type SMTPMailer struct {
// contains filtered or unexported fields
}
func NewSMTPMailer ¶
func NewSMTPMailer(config *SMTPConfig) *SMTPMailer
Click to show internal directories.
Click to hide internal directories.