sendgrid

package
v0.0.0-...-aff46f4 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2020 License: GPL-3.0, GPL-3.0-or-later Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSender

func NewSender() messages.Sender

Types

type Addressee

type Addressee struct {
	Email string
	Name  *string
}

type Attachment

type Attachment struct {
	Content     []byte
	ContentID   string
	Disposition string
	Filename    string
	Type        string
}

type Personalization

type Personalization struct {
	To  []Addressee
	CC  []Addressee
	BCC []Addressee
}

type Request

type Request struct {
	Personalizations [1]Personalization
	From             Addressee
	Content          []struct {
		Type  string
		Value string
	}
	Attachments []Attachment
}

Jump to

Keyboard shortcuts

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