Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmailSender ¶
type EmailSender interface {
SendMultipartEmail(ctx context.Context, address string, subject string, html string, text string) error
}
func NewConsoleEmailSender ¶
func NewConsoleEmailSender(senderName, sender string) EmailSender
func NewSendGridEmailSender ¶
func NewSendGridEmailSender(apiKey, senderName, sender string) EmailSender
Click to show internal directories.
Click to hide internal directories.