Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListMailsResponse ¶
type ListMailsResponse struct {
Mails []*Mail `json:"mails"`
Total int `json:"total"`
Limit int `json:"limit"`
Offset int `json:"offset"`
}
ListMailsResponse is the envelope returned by GET /inbox.
type Mail ¶
type Mail struct {
ID string `json:"id"`
MessageID string `json:"message_id"`
Subject string `json:"subject"`
From string `json:"from"`
To string `json:"to"`
ReceivedAt time.Time `json:"received_at"`
TextBody string `json:"text_body,omitempty"`
HTMLBody string `json:"html_body,omitempty"`
}
Mail is the API representation of an email message.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server wraps an Echo instance with app dependencies.
Click to show internal directories.
Click to hide internal directories.