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 EventRecord ¶
type EventRecord struct { Source string `json:"eventSource"` Version string `json:"eventVersion"` SES SES `json:"ses"` }
EventRecord event 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
Click to show internal directories.
Click to hide internal directories.