package
Version:
v0.2.0
Opens a new window with list of versions in this module.
Published: Jan 11, 2019
License: NCSA
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Address struct {
Email string `json:"email"`
Name string `json:"name,omitempty"`
}
type Content struct {
TemplateID string `json:"template_id"`
}
type MailInfo struct {
Recipients []Recipient `json:"recipients"`
Content Content `json:"content"`
}
type MailList struct {
ID string `json:"id"`
UserIDs []string `json:"userIds"`
}
type MailListList struct {
MailLists []MailList `json:"mailLists"`
}
type MailOrder struct {
IDs []string `json:"ids"`
Template string `json:"template"`
}
type MailOrderList struct {
ListID string `json:"listId"`
Template string `json:"template"`
}
type MailStatusResults struct {
Rejected int `json:"total_rejected_recipients"`
Accepted int `json:"total_accepted_recipients"`
}
type Recipient struct {
Address Address `json:"address"`
Substitutions Substitutions `json:"substitution_data,omitempty"`
}
type Substitutions map[string]interface{}
type UserInfo struct {
ID string `json:"id"`
Username string `json:"username"`
FirstName string `json:"firstName"`
LastName string `json:"lastName"`
Email string `json:"email"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.