sendgriddrv

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2021 License: MPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package sendgriddrv sends notification email with sendgrid API

Index

Constants

View Source
const Sendgrid = "SENDGRID"

Sendgrid is driver type of New()

Variables

This section is empty.

Functions

func New

func New(key string, cl *http.Client) (ret types.Driver)

New creates a driver that sends notification email via sendgrid

The payload format is json encoded mail.SGMailV3 https://godoc.org/github.com/sendgrid/sendgrid-go/helpers/mail#SGMailV3

This driver does not use endpoint info.

Types

This section is empty.

Jump to

Keyboard shortcuts

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