Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SendgridMailer ¶
type SendgridMailer struct { ApiKey string Endpoint string Host string MessageTypes map[papers.MessageType]string }
func NewSendgridMailer ¶
func NewSendgridMailer(apiKey string) *SendgridMailer
func (SendgridMailer) AddMessageType ¶
func (s SendgridMailer) AddMessageType(msgType papers.MessageType, templateID string)
Click to show internal directories.
Click to hide internal directories.