Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrServerClosed = http.ErrServerClosed
)
Functions ¶
Types ¶
type CommonRequest ¶
type CommonRequest struct { From string `json:"from"` Subject string `json:"subject"` Body string `json:"body"` Format *daemon.Format `json:"format,omitempty"` ReplyTo *string `json:"replyTo,omitempty"` }
CommonRequest contains all the shared fields between the different sending types
type SendBatchRequest ¶
type SendBatchRequest struct { // To is a list of recipient emails To []string `json:"to"` CommonRequest }
type SendRequest ¶
type SendRequest struct { // To is a single recipient email To string `json:"to"` CommonRequest }
type SendTemplateRequest ¶
type SendTemplateRequest struct { // To is a map of all the recipient emails to their context data To map[string]map[string]string `json:"to"` CommonRequest }
Click to show internal directories.
Click to hide internal directories.