Documentation ¶
Index ¶
- type Inbox
- func (i *Inbox[M]) Add(inboxItem InboxItem)
- func (i *Inbox[M]) Coloured() (string, error)
- func (i *Inbox[M]) Count() int
- func (i *Inbox[M]) Delete(position int) error
- func (i *Inbox[M]) Fetch(offset int) (Render, error)
- func (i *Inbox[M]) Flush() error
- func (i *Inbox[M]) GetMails() []InboxItem
- func (i *Inbox[M]) JSON() (string, error)
- func (i *Inbox[M]) ParseInboxPages(limit int) error
- func (i *Inbox[M]) Shrink(limit int)
- type InboxItem
- type Render
- type Sender
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inbox ¶
type Inbox[M client.MailDoc] struct { Name string `json:"name"` InboxItems []InboxItem `json:"mails"` // contains filtered or unexported fields }
Inbox represents a mail collection
func (*Inbox[M]) ParseInboxPages ¶
ParseInboxPages parses inbox email in given page
Click to show internal directories.
Click to hide internal directories.