storetest

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package storetest is a conformance suite for SQL stores.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(t *testing.T, db *sql.DB, newStore func(...sqlstore.Option) Store)

Types

type Store

type Store interface {
	xoutbox.Store
	xoutbox.Cleaner
	Insert(ctx context.Context, ex xoutbox.Execer, events ...xoutbox.Event) error
	Requeue(ctx context.Context, ids ...string) (int64, error)
	Stats(ctx context.Context) (xoutbox.Stats, error)
	Migrate(ctx context.Context) error
}

Jump to

Keyboard shortcuts

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