Documentation ¶
Index ¶
- type Backend
- type Mailbox
- func (m *Mailbox) Check() error
- func (m *Mailbox) CopyMessages(uid bool, seqset *imap.SeqSet, dest string) error
- func (m *Mailbox) CreateMessage(flags []string, date time.Time, body imap.Literal) error
- func (m *Mailbox) Expunge() error
- func (m *Mailbox) Info() (*imap.MailboxInfo, error)
- func (m *Mailbox) ListMessages(uid bool, seqset *imap.SeqSet, items []imap.FetchItem, ch chan<- *imap.Message) error
- func (m *Mailbox) Name() string
- func (m *Mailbox) SearchMessages(uid bool, criteria *imap.SearchCriteria) ([]uint32, error)
- func (m *Mailbox) SetSubscribed(subscribed bool) error
- func (m *Mailbox) Status(items []imap.StatusItem) (*imap.MailboxStatus, error)
- func (m *Mailbox) UpdateMessagesFlags(uid bool, seqset *imap.SeqSet, operation imap.FlagsOp, flags []string) error
- type User
- func (i *User) CreateMailbox(name string) error
- func (i *User) DeleteMailbox(name string) error
- func (i *User) GetMailbox(name string) (backend.Mailbox, error)
- func (i *User) ListMailboxes(subscribed bool) ([]backend.Mailbox, error)
- func (i *User) Logout() error
- func (i *User) RenameMailbox(existingName, newName string) error
- func (i *User) Username() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mailbox ¶
func (*Mailbox) CopyMessages ¶
func (*Mailbox) CreateMessage ¶
func (*Mailbox) ListMessages ¶
func (*Mailbox) SearchMessages ¶
func (*Mailbox) SetSubscribed ¶
type User ¶
func (*User) CreateMailbox ¶
func (*User) DeleteMailbox ¶
func (*User) ListMailboxes ¶
func (*User) RenameMailbox ¶
Click to show internal directories.
Click to hide internal directories.