Versions in this module Expand all Collapse all v0 v0.0.11 Apr 30, 2024 Changes in this version + var ErrMessageNotFound = errors.New("no such message") + 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 struct + Checkf func(ctx context.Context, err error, format string, args ...any) + Checkuserf func(ctx context.Context, err error, format string, args ...any) + DBWrite func(ctx context.Context, acc *store.Account, fn func(tx *bstore.Tx)) + 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)