type AppendCommand func (cmd *AppendCommand) Close() error func (cmd *AppendCommand) Wait() (*imap.AppendData, error) func (cmd *AppendCommand) Write(b []byte) (int, error) type CapabilityCommand func (cmd *CapabilityCommand) Wait() (imap.CapSet, error) type Client func DialInsecure(address string, options *Options) (*Client, error) func DialStartTLS(address string, options *Options) (*Client, error) func DialTLS(address string, options *Options) (*Client, error) func New(conn net.Conn, options *Options) *Client func NewStartTLS(conn net.Conn, options *Options) (*Client, error) func (c *Client) Append(mailbox string, size int64, options *imap.AppendOptions) *AppendCommand func (c *Client) Authenticate(saslClient sasl.Client) error func (c *Client) Capability() *CapabilityCommand func (c *Client) Caps() imap.CapSet func (c *Client) Close() error func (c *Client) Closed() <-chan struct{} func (c *Client) Copy(numSet imap.NumSet, mailbox string) *CopyCommand func (c *Client) Create(mailbox string, options *imap.CreateOptions) *Command func (c *Client) Delete(mailbox string) *Command func (c *Client) Enable(caps ...imap.Cap) *EnableCommand func (c *Client) Expunge() *ExpungeCommand func (c *Client) Fetch(numSet imap.NumSet, options *imap.FetchOptions) *FetchCommand func (c *Client) GetACL(mailbox string) *GetACLCommand func (c *Client) GetMetadata(mailbox string, entries []string, options *GetMetadataOptions) *GetMetadataCommand func (c *Client) GetQuota(root string) *GetQuotaCommand func (c *Client) GetQuotaRoot(mailbox string) *GetQuotaRootCommand func (c *Client) ID(idData *imap.IDData) *IDCommand func (c *Client) Idle() (*IdleCommand, error) func (c *Client) List(ref, pattern string, options *imap.ListOptions) *ListCommand func (c *Client) Login(username, password string) *Command func (c *Client) Logout() *Command func (c *Client) Mailbox() *SelectedMailbox func (c *Client) Move(numSet imap.NumSet, mailbox string) *MoveCommand func (c *Client) MyRights(mailbox string) *MyRightsCommand func (c *Client) Namespace() *NamespaceCommand func (c *Client) Noop() *Command func (c *Client) Rename(mailbox, newName string, options *imap.RenameOptions) *Command func (c *Client) Search(criteria *imap.SearchCriteria, options *imap.SearchOptions) *SearchCommand func (c *Client) Select(mailbox string, options *imap.SelectOptions) *SelectCommand func (c *Client) SetACL(mailbox string, ri imap.RightsIdentifier, rm imap.RightModification, ...) *SetACLCommand func (c *Client) SetMetadata(mailbox string, entries map[string]*[]byte) *Command func (c *Client) SetQuota(root string, limits map[imap.QuotaResourceType]int64) *Command func (c *Client) Sort(options *SortOptions) *SortCommand func (c *Client) State() imap.ConnState func (c *Client) Status(mailbox string, options *imap.StatusOptions) *StatusCommand func (c *Client) Store(numSet imap.NumSet, store *imap.StoreFlags, options *imap.StoreOptions) *FetchCommand func (c *Client) Subscribe(mailbox string) *Command func (c *Client) Thread(options *ThreadOptions) *ThreadCommand func (c *Client) UIDExpunge(uids imap.UIDSet) *ExpungeCommand func (c *Client) UIDSearch(criteria *imap.SearchCriteria, options *imap.SearchOptions) *SearchCommand func (c *Client) UIDSort(options *SortOptions) *SortCommand func (c *Client) UIDThread(options *ThreadOptions) *ThreadCommand func (c *Client) Unauthenticate() *Command func (c *Client) Unselect() *Command func (c *Client) UnselectAndExpunge() *Command func (c *Client) Unsubscribe(mailbox string) *Command func (c *Client) WaitGreeting() error type Command func (cmd *Command) Wait() error type CopyCommand func (cmd *CopyCommand) Wait() (*imap.CopyData, error) type EnableCommand func (cmd *EnableCommand) Wait() (*EnableData, error) type EnableData type ExpungeCommand func (cmd *ExpungeCommand) Close() error func (cmd *ExpungeCommand) Collect() ([]uint32, error) func (cmd *ExpungeCommand) Next() uint32 type FetchBinarySectionBuffer type FetchBodySectionBuffer type FetchCommand func (cmd *FetchCommand) Close() error func (cmd *FetchCommand) Collect() ([]*FetchMessageBuffer, error) func (cmd *FetchCommand) Next() *FetchMessageData type FetchItemData type FetchItemDataBinarySection func (dataItem *FetchItemDataBinarySection) MatchCommand(item *imap.FetchItemBinarySection) bool type FetchItemDataBinarySectionSize func (data *FetchItemDataBinarySectionSize) MatchCommand(item *imap.FetchItemBinarySectionSize) bool type FetchItemDataBodySection func (dataItem *FetchItemDataBodySection) MatchCommand(item *imap.FetchItemBodySection) bool type FetchItemDataBodyStructure type FetchItemDataEnvelope type FetchItemDataFlags type FetchItemDataInternalDate type FetchItemDataModSeq type FetchItemDataRFC822Size type FetchItemDataUID type FetchMessageBuffer func (buf *FetchMessageBuffer) FindBinarySection(section *imap.FetchItemBinarySection) []byte func (buf *FetchMessageBuffer) FindBinarySectionSize(part []int) (uint32, bool) func (buf *FetchMessageBuffer) FindBodySection(section *imap.FetchItemBodySection) []byte type FetchMessageData func (data *FetchMessageData) Collect() (*FetchMessageBuffer, error) func (data *FetchMessageData) Next() FetchItemData type GetACLCommand func (cmd *GetACLCommand) Wait() (*GetACLData, error) type GetACLData type GetMetadataCommand func (cmd *GetMetadataCommand) Wait() (*GetMetadataData, error) type GetMetadataData type GetMetadataDepth func (depth GetMetadataDepth) String() string type GetMetadataOptions type GetQuotaCommand func (cmd *GetQuotaCommand) Wait() (*QuotaData, error) type GetQuotaRootCommand func (cmd *GetQuotaRootCommand) Wait() ([]QuotaData, error) type IDCommand func (r *IDCommand) Wait() (*imap.IDData, error) type IdleCommand func (cmd *IdleCommand) Close() error func (cmd *IdleCommand) Wait() error type ListCommand func (cmd *ListCommand) Close() error func (cmd *ListCommand) Collect() ([]*imap.ListData, error) func (cmd *ListCommand) Next() *imap.ListData type MoveCommand func (cmd *MoveCommand) Wait() (*MoveData, error) type MoveData type MyRightsCommand func (cmd *MyRightsCommand) Wait() (*MyRightsData, error) type MyRightsData type NamespaceCommand func (cmd *NamespaceCommand) Wait() (*imap.NamespaceData, error) type Options type QuotaData type QuotaResourceData type SearchCommand func (cmd *SearchCommand) Wait() (*imap.SearchData, error) type SelectCommand func (cmd *SelectCommand) Wait() (*imap.SelectData, error) type SelectedMailbox type SetACLCommand func (cmd *SetACLCommand) Wait() error type SortCommand func (cmd *SortCommand) Wait() ([]uint32, error) type SortCriterion type SortKey type SortOptions type StatusCommand func (cmd *StatusCommand) Wait() (*imap.StatusData, error) type ThreadCommand func (cmd *ThreadCommand) Wait() ([]ThreadData, error) type ThreadData type ThreadOptions type UnilateralDataHandler type UnilateralDataMailbox