Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SendGrid ¶
type SendGrid struct {
// contains filtered or unexported fields
}
SendGrid struct holds necessary data to communicate with the SendGrid API.
func New ¶
New returns a new instance of a SendGrid notification service. You will need a SendGrid API key. See https://sendgrid.com/docs/for-developers/sending-email/api-getting-started/
func (*SendGrid) AddReceivers ¶
AddReceivers takes email addresses and adds them to the internal address list. The Send method will send a given message to all those addresses.
Click to show internal directories.
Click to hide internal directories.