Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var InternalProviderCount = 0
Functions ¶
This section is empty.
Types ¶
type ErrorProvider ¶
type ErrorProvider struct{}
InternalProvider is a provider written to be used on the testing.
func (ErrorProvider) SendContact ¶
func (ip ErrorProvider) SendContact(con core.Contact) (string, error)
SendContact Implements the Provider interface, this only returns an error! :D.
type InternalProvider ¶
type InternalProvider struct{}
InternalProvider is a provider written to be used on the testing.
func (InternalProvider) SendContact ¶
func (ip InternalProvider) SendContact(con core.Contact) (string, error)
SendContact Implements the Provider interface.
type MandrillProvider ¶
type MandrillProvider struct{}
SlackProvider TODO: Document me!
func (MandrillProvider) SendContact ¶
func (sp MandrillProvider) SendContact(contact core.Contact) (string, error)
SendContact is the implementation of the SendContact function for the Mandril Provider.
type Provider ¶
Provider is a interface build to set a baseline for implementations of different transactional email providers.
type SendgridProvider ¶
type SendgridProvider struct{}
SendgridProvider
func (SendgridProvider) SendContact ¶
func (sp SendgridProvider) SendContact(contact core.Contact) (string, error)
SendContact is the implementation of the SendContact function for the Mandril Provider.
type SlackProvider ¶
type SlackProvider struct{}
SlackProvider TODO: Document me!
func (SlackProvider) SendContact ¶
func (sp SlackProvider) SendContact(contact core.Contact) (string, error)
SendContact is the implementation of the SendContact function for the Slack Provider.