ses

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2018 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonHeaders

type CommonHeaders struct {
	ReturnPath string   `json:"returnPath"`
	From       []string `json:"from"`
	Date       string   `json:"date"`
	To         []string `json:"to"`
	MessageID  string   `json:"messageId"`
	Subject    string   `json:"subject"`
}

CommonHeaders mail data

type Event

type Event struct {
	Records []EventRecord
}

Event data

type EventRecord

type EventRecord struct {
	Source  string `json:"eventSource"`
	Version string `json:"eventVersion"`
	SES     SES    `json:"ses"`
}

EventRecord event data

type Header struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

Header mail data

type Mail

type Mail struct {
	Timestamp        string        `json:"timestamp"`
	Source           string        `json:"source"`
	MessageID        string        `json:"messageId"`
	Destination      []string      `json:"destination"`
	HeadersTruncated bool          `json:"headersTruncated"`
	Headers          []Header      `json:"headers"`
	CommonHeaders    CommonHeaders `json:"commonHeaders"`
	Receipt          Receipt       `json:"receipt"`
}

Mail event data

type Receipt

type Receipt struct {
	Timestamp            string   `json:"timestamp"`
	ProcessingTimeMillis uint64   `json:"processingTimeMillis"`
	Receipients          []string `json:"recipients"`
	SpamVerdict          Verdict  `json:"spamVerdict"`
	VirusVerdict         Verdict  `json:"virusVerdict"`
	SPFVerdict           Verdict  `json:"spfVerdict"`
	DKIMVerdict          Verdict  `json:"dkimVerdict"`
}

Receipt mail data

type SES

type SES struct {
	Mail Mail `json:"mail"`
}

SES event information

type Verdict

type Verdict struct {
	Status string `json:"status"`
}

Verdict result data

Jump to

Keyboard shortcuts

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