Documentation
¶
Overview ¶
Package sendgrid provides the implementation of an email sender using SendGrid.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// APIKey is the sendgrid api key.
APIKey string `name:"api-key" description:"The sendgrid API key to use"`
// SandboxMode enables sendgrid's sandbox mode for testing.
SandboxMode bool `name:"sandbox" description:"Set the sendgrid sandbox mode for testing"`
// From is the address the emails are sent from.
From string `name:"from" description:"The address the emails are sent from"`
// Name is the name of the sender.
Name string `name:"name" description:"The name of the sender"`
}
Config is the type that configures the SendGrid email provider.
Click to show internal directories.
Click to hide internal directories.