Documentation ¶
Overview ¶
Package webops implements shared functionality between webapisrv and webmail.
Index ¶
- Variables
- func Export(log mlog.Log, accName string, w http.ResponseWriter, r *http.Request)
- func ReadableParts(p message.Part, maxSize int64) (text string, html string, found bool, err error)
- type XOps
- func (x XOps) MessageDelete(ctx context.Context, log mlog.Log, acc *store.Account, messageIDs []int64)
- func (x XOps) MessageDeleteTx(ctx context.Context, log mlog.Log, tx *bstore.Tx, acc *store.Account, ...) (store.ModSeq, []store.Change)
- func (x XOps) MessageFlagsAdd(ctx context.Context, log mlog.Log, acc *store.Account, messageIDs []int64, ...)
- func (x XOps) MessageFlagsClear(ctx context.Context, log mlog.Log, acc *store.Account, messageIDs []int64, ...)
- func (x XOps) MessageMove(ctx context.Context, log mlog.Log, acc *store.Account, messageIDs []int64, ...)
- func (x XOps) MessageMoveTx(ctx context.Context, log mlog.Log, acc *store.Account, tx *bstore.Tx, ...) (store.ModSeq, []store.Change)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMessageNotFound = errors.New("no such message")
Functions ¶
Types ¶
type XOps ¶
type XOps struct { DBWrite func(ctx context.Context, acc *store.Account, fn func(tx *bstore.Tx)) Checkf func(ctx context.Context, err error, format string, args ...any) Checkuserf func(ctx context.Context, err error, format string, args ...any) }
func (XOps) MessageDelete ¶
func (XOps) MessageDeleteTx ¶
func (XOps) MessageFlagsAdd ¶
func (XOps) MessageFlagsClear ¶
Click to show internal directories.
Click to hide internal directories.