Documentation ¶
Index ¶
- type FolderContents
- type IDList
- type JMAPCache
- func (c *JMAPCache) DeleteBlob(id jmap.ID) error
- func (c *JMAPCache) DeleteEmail(id jmap.ID) error
- func (c *JMAPCache) DeleteFolderContents(mailboxId jmap.ID) error
- func (c *JMAPCache) DeleteMailbox(id jmap.ID) error
- func (c *JMAPCache) DeleteSession() error
- func (c *JMAPCache) DeleteThread(id jmap.ID) error
- func (c *JMAPCache) GetBlob(id jmap.ID) ([]byte, error)
- func (c *JMAPCache) GetEmail(id jmap.ID) (*email.Email, error)
- func (c *JMAPCache) GetEmailState() (string, error)
- func (c *JMAPCache) GetFolderContents(mailboxId jmap.ID) (*FolderContents, error)
- func (c *JMAPCache) GetMailbox(id jmap.ID) (*mailbox.Mailbox, error)
- func (c *JMAPCache) GetMailboxList() ([]jmap.ID, error)
- func (c *JMAPCache) GetMailboxState() (string, error)
- func (c *JMAPCache) GetSession() (*jmap.Session, error)
- func (c *JMAPCache) GetThread(id jmap.ID) ([]jmap.ID, error)
- func (c *JMAPCache) GetThreadState() (string, error)
- func (c *JMAPCache) HasEmail(id jmap.ID) bool
- func (c *JMAPCache) PutBlob(id jmap.ID, buf []byte) error
- func (c *JMAPCache) PutEmail(id jmap.ID, e *email.Email) error
- func (c *JMAPCache) PutEmailState(state string) error
- func (c *JMAPCache) PutFolderContents(mailboxId jmap.ID, m *FolderContents) error
- func (c *JMAPCache) PutMailbox(id jmap.ID, m *mailbox.Mailbox) error
- func (c *JMAPCache) PutMailboxList(list []jmap.ID) error
- func (c *JMAPCache) PutMailboxState(state string) error
- func (c *JMAPCache) PutSession(s *jmap.Session) error
- func (c *JMAPCache) PutThread(id jmap.ID, list []jmap.ID) error
- func (c *JMAPCache) PutThreadState(state string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FolderContents ¶
type FolderContents struct { MailboxID jmap.ID QueryState string Filter *types.SearchCriteria Sort []*types.SortCriterion MessageIDs []jmap.ID }
func (*FolderContents) NeedsRefresh ¶
func (f *FolderContents) NeedsRefresh( filter *types.SearchCriteria, sort []*types.SortCriterion, ) bool
type JMAPCache ¶
type JMAPCache struct {
// contains filtered or unexported fields
}
func NewJMAPCache ¶
func (*JMAPCache) DeleteBlob ¶
func (*JMAPCache) DeleteEmail ¶
func (*JMAPCache) DeleteFolderContents ¶
func (*JMAPCache) DeleteMailbox ¶
func (*JMAPCache) DeleteSession ¶
func (*JMAPCache) DeleteThread ¶
func (*JMAPCache) GetEmailState ¶
func (*JMAPCache) GetFolderContents ¶
func (c *JMAPCache) GetFolderContents(mailboxId jmap.ID) (*FolderContents, error)
func (*JMAPCache) GetMailboxList ¶
func (*JMAPCache) GetMailboxState ¶
func (*JMAPCache) GetSession ¶
func (*JMAPCache) GetThreadState ¶
func (*JMAPCache) PutEmailState ¶
func (*JMAPCache) PutFolderContents ¶
func (c *JMAPCache) PutFolderContents(mailboxId jmap.ID, m *FolderContents) error
func (*JMAPCache) PutMailboxList ¶
func (*JMAPCache) PutMailboxState ¶
func (*JMAPCache) PutSession ¶
func (*JMAPCache) PutThreadState ¶
Click to show internal directories.
Click to hide internal directories.