Versions in this module Expand all Collapse all v0 v0.14.0 Dec 18, 2024 Changes in this version + type Database interface + AssociateTransactionWithDestinations func(ctx context.Context, destinations map[spec.UserID]struct{}, ...) error + CleanTransactions func(ctx context.Context, userID spec.UserID, receipts []*receipt.Receipt) error + GetTransaction func(ctx context.Context, userID spec.UserID) (*gomatrixserverlib.Transaction, *receipt.Receipt, error) + GetTransactionCount func(ctx context.Context, userID spec.UserID) (int64, error) + StoreTransaction func(ctx context.Context, txn gomatrixserverlib.Transaction) (*receipt.Receipt, error) + func NewDatabase(conMan *sqlutil.Connections, dbProperties *config.DatabaseOptions, ...) (Database, error) + func NewDatabase(conMan sqlutil.Connections, dbProperties *config.DatabaseOptions, ...) (Database, error)