jmap

package
v0.0.0-...-854a73e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2024 License: MIT Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewJMAPWorker

func NewJMAPWorker(worker *types.Worker) (types.Backend, error)

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

func (*JMAPWorker) Upload

func (w *JMAPWorker) Upload(reader io.Reader) (*jmap.UploadResponse, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL