Versions in this module Expand all Collapse all v0 v0.0.3 Jan 29, 2023 v0.0.2 Jan 29, 2023 Changes in this version + func Do(ctx context.Context, fn Func, since time.Time) + func DumpContextStr(ctx context.Context) string + func Err(ctx context.Context, fn Func, err error) + func WithCollection(parent context.Context, op Op, database, collection string) (context.Context, *int64, *int64) + func WithOp(parent context.Context, op Op) context.Context + func WithTx(parent context.Context) context.Context + func WithUrl(parent context.Context, op Op, url *url.URL) context.Context + type Func func(context.Context, time.Duration, error) + type Op uint + const OpCommit + const OpConnect + const OpDelete + const OpDeleteMany + const OpDisconnect + const OpFind + const OpFindMany + const OpFindUpdate + const OpInsert + const OpInsertMany + const OpNone + const OpPing + const OpRollback + const OpUpdate + const OpUpdateMany + const OpUpsert + const OpUpsertMany + func (o Op) String() string