Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountWrite ¶
type Credentials ¶
type EmailAddress ¶
type Message ¶
type Message struct { Cc []EmailAddress `json:"cc"` Bcc []EmailAddress `json:"bcc"` Flagged bool `json:"flagged"` Verifications []string `json:"verifications"` Retention bool `json:"retention"` RetentionDate time.Time `json:"retentionDate"` Text string `json:"text"` HTML []string `json:"html"` Attachments []MessageAttachment `json:"attachments"` // contains filtered or unexported fields }
type MessageAttachment ¶
type MessageAttachment struct { ID string `json:"id"` Filename string `json:"filename"` ContentType string `json:"contentType"` Disposition string `json:"disposition"` TransferEncoding string `json:"transferEncoding"` Related bool `json:"related"` Size int `json:"size"` DownloadURL string `json:"downloadUrl"` }
type MessageWrite ¶
type MessageWrite struct {
Seen bool `json:"seen"`
}
type Messages ¶
type Messages []MessagesItem
type MessagesItem ¶
type MessagesItem struct { Intro string `json:"intro"` // contains filtered or unexported fields }
type Release ¶ added in v0.2.0
type Release struct { ID int `json:"id"` HTMLURL string `json:"html_url"` Name string `json:"name"` TagName string `json:"tag_name"` CreatedAt time.Time `json:"created_at"` PublishedAt time.Time `json:"published_at"` }
The Release structure contains only the necessary keys.
Click to show internal directories.
Click to hide internal directories.