Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ProviderSendgrid represents SendGrid. ProviderSendgrid = "sendgrid" // ProviderMailgun represents Mailgun. ProviderMailgun = "mailgun" // ProviderMailjet represents Mailjet. ProviderMailjet = "mailjet" )
Variables ¶
View Source
var ( // ProvidersEmail are what we provide to dependency injection. ProvidersEmail = wire.NewSet( ProvideEmailer, ) )
Functions ¶
Types ¶
type Config ¶
type Config struct { Sendgrid *sendgrid.Config `json:"sendgrid" toml:"sendgrid,omitempty"` Mailgun *mailgun.Config `json:"mailgun" toml:"mailgun,omitempty"` Mailjet *mailjet.Config `json:"mailjet" toml:"mailjet,omitempty"` Provider string `json:"provider" toml:"provider,omitempty"` }
Config is the configuration structure.
Click to show internal directories.
Click to hide internal directories.