Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Address ¶
type Address struct {
Name string `json:"name,omitempty"`
Email string `json:"email"`
HeaderTo string `json:"header_to,omitempty"`
}
Address is SparkPost' address part.
type Content ¶
type Content struct {
From Address `json:"from,omitempty"`
Headers map[string]string `json:"headers,omitempty"`
Subject string `json:"subject,omitempty"`
Text string `json:"text,omitempty"`
HTML string `json:"html,omitempty"`
}
Content defines SparkPost' content.
Click to show internal directories.
Click to hide internal directories.