Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message interface { From() *mail.Address ReplyTo() *mail.Address To() []*mail.Address Cc() []*mail.Address Bcc() []*mail.Address Subject() string Text() string HTML() string }
func NewMessage ¶
type SendGridOptions ¶
type SendGridOptions interface {
APIKey() string
}
func NewSendGridOptions ¶
func NewSendGridOptions(apiKey string) SendGridOptions
type SendGridSender ¶
type SendGridSender interface { Init(SendGridOptions) Send(Message) error }
Click to show internal directories.
Click to hide internal directories.