provider

package
v0.0.0-...-637183b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2020 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// MandrillName the provider name
	MandrillName = "mandrill"
	// MandrillAPIKey the mandrill api key
	MandrillAPIKey = "MandrillApiKey"
)
View Source
const (
	// SendgridName the provider name
	SendgridName = "sendgrid"
	// SendgridAPIKey the sendgrid api key
	SendgridAPIKey = "SendgridApiKey"
)
View Source
const (
	// SESName the provider name
	SESName = "ses"
	// SESAWSKeyID the SES key ID
	SESAWSKeyID = "SesAwsKeyId"
	// SESAWSSecretKey the SES secret key
	SESAWSSecretKey = "SesAwsSecretKey"
	// SESAWSRegion the SES secret key
	SESAWSRegion = "SesAwsRegion"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MandrillProvider

type MandrillProvider struct {
	Root channel.Provider
}

MandrillProvider ...

func NewMandrill

func NewMandrill() *MandrillProvider

NewMandrill ...

func (*MandrillProvider) Approve

Approve ...

func (*MandrillProvider) Deliver

Deliver ...

func (*MandrillProvider) LoadEnv

func (p *MandrillProvider) LoadEnv() error

LoadEnv ...

type SESProvider

type SESProvider struct {
	Root channel.Provider
}

SESProvider ...

func NewSES

func NewSES() *SESProvider

NewSES ...

func (*SESProvider) Approve

func (p *SESProvider) Approve(*messagesemail.Message) error

Approve ...

func (*SESProvider) Deliver

func (p *SESProvider) Deliver(m *messagesemail.Message) error

Deliver ...

func (*SESProvider) LoadEnv

func (p *SESProvider) LoadEnv() error

LoadEnv ...

type SendgridProvider

type SendgridProvider struct {
	Root channel.Provider
}

SendgridProvider ...

func NewSendgrid

func NewSendgrid() *SendgridProvider

NewSendgrid ...

func (*SendgridProvider) Approve

Approve ...

func (*SendgridProvider) Deliver

Deliver ...

func (*SendgridProvider) Keys

func (p *SendgridProvider) Keys() []string

Keys ...

func (*SendgridProvider) LoadEnv

func (p *SendgridProvider) LoadEnv() error

LoadEnv ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL