sendgrid

package
v0.0.0-...-4e69e3f Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(url, key string) (app.Sender, error)

New creates new SendGrid sender.

Types

type Sender

type Sender struct {
	// contains filtered or unexported fields
}

Sender represents a SendGrid sender.

func (Sender) Send

func (s Sender) Send(msg model.Message) error

Send sends an email via SendGrid API.

Jump to

Keyboard shortcuts

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