Versions in this module Expand all Collapse all v0 v0.0.4 Apr 28, 2023 v0.0.3 Apr 27, 2023 v0.0.2 Apr 27, 2023 v0.0.1 Apr 27, 2023 Changes in this version + var ErrUnhandled = errors.New("imap: unhandled response") + type Authenticate struct + InitialResponse []byte + Mechanism sasl.Client + RepliesCh chan []byte + func (r *Authenticate) Handle(resp imap.Resp) error + func (r *Authenticate) Replies() <-chan []byte + type Capability struct + Caps []string + func (r *Capability) WriteTo(w *imap.Writer) error + type Enabled struct + Caps []string + func (r *Enabled) Handle(resp imap.Resp) error + func (r *Enabled) WriteTo(w *imap.Writer) error + type Expunge struct + SeqNums chan uint32 + func (r *Expunge) Handle(resp imap.Resp) error + func (r *Expunge) WriteTo(w *imap.Writer) error + type Fetch struct + Messages chan *imap.Message + SeqSet *imap.SeqSet + Uid bool + func (r *Fetch) Handle(resp imap.Resp) error + func (r *Fetch) WriteTo(w *imap.Writer) error + type Handler interface + Handle func(resp imap.Resp) error + type HandlerFunc func(resp imap.Resp) error + func (f HandlerFunc) Handle(resp imap.Resp) error + type Idle struct + RepliesCh chan []byte + Stop <-chan struct{} + func (r *Idle) Handle(resp imap.Resp) error + func (r *Idle) Replies() <-chan []byte + type List struct + Mailboxes chan *imap.MailboxInfo + Subscribed bool + func (r *List) Handle(resp imap.Resp) error + func (r *List) Name() string + func (r *List) WriteTo(w *imap.Writer) error + type Replier interface + Replies func() <-chan []byte + type Search struct + Ids []uint32 + func (r *Search) Handle(resp imap.Resp) error + func (r *Search) WriteTo(w *imap.Writer) (err error) + type Select struct + Mailbox *imap.MailboxStatus + func (r *Select) Handle(resp imap.Resp) error + func (r *Select) WriteTo(w *imap.Writer) error + type Status struct + Mailbox *imap.MailboxStatus + func (r *Status) Handle(resp imap.Resp) error + func (r *Status) WriteTo(w *imap.Writer) error