source

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source interface {
	// Next fetches the next transaction to be restored.
	// This call can be BLOCKING
	Next(context.Context) (*std.Tx, error)

	// Close shuts down the transaction source
	Close() error
}

Source defines the interface for any source of transactions that need to be restored

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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