Documentation ¶
Index ¶
- func NewJMAPWorker(worker *types.Worker) (types.Backend, error)
- type JMAPWorker
- func (w *JMAPWorker) AccountId() jmap.ID
- func (w *JMAPWorker) Capabilities() *models.Capabilities
- func (w *JMAPWorker) Do(req *jmap.Request) (*jmap.Response, error)
- func (w *JMAPWorker) Download(blobID jmap.ID) (io.ReadCloser, error)
- func (w *JMAPWorker) GetIdentities() error
- func (w *JMAPWorker) MailboxPath(mbox *mailbox.Mailbox) string
- func (w *JMAPWorker) PathSeparator() string
- func (w *JMAPWorker) Run()
- func (w *JMAPWorker) UpdateSession() error
- func (w *JMAPWorker) Upload(reader io.Reader) (*jmap.UploadResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type JMAPWorker ¶
type JMAPWorker struct {
// contains filtered or unexported fields
}
func (*JMAPWorker) AccountId ¶
func (w *JMAPWorker) AccountId() jmap.ID
func (*JMAPWorker) Capabilities ¶
func (w *JMAPWorker) Capabilities() *models.Capabilities
func (*JMAPWorker) Do ¶
func (w *JMAPWorker) Do(req *jmap.Request) (*jmap.Response, error)
func (*JMAPWorker) Download ¶
func (w *JMAPWorker) Download(blobID jmap.ID) (io.ReadCloser, error)
func (*JMAPWorker) GetIdentities ¶
func (w *JMAPWorker) GetIdentities() error
func (*JMAPWorker) MailboxPath ¶
func (w *JMAPWorker) MailboxPath(mbox *mailbox.Mailbox) string
func (*JMAPWorker) PathSeparator ¶
func (w *JMAPWorker) PathSeparator() string
func (*JMAPWorker) Run ¶
func (w *JMAPWorker) Run()
func (*JMAPWorker) UpdateSession ¶
func (w *JMAPWorker) UpdateSession() error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.