memdb

package
v0.0.0-...-d3d9290 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BeginRo

func BeginRo(tb testing.TB, db kv.RoDB) kv.Tx

func BeginRw

func BeginRw(tb testing.TB, db kv.RwDB) kv.RwTx

func New

func New(tmpDir string) kv.RwDB

func NewDownloaderDB

func NewDownloaderDB(tmpDir string) kv.RwDB

func NewPoolDB

func NewPoolDB(tmpDir string) kv.RwDB

func NewSentryDB

func NewSentryDB(tmpDir string) kv.RwDB

func NewTestDB

func NewTestDB(tb testing.TB) kv.RwDB

func NewTestDownloaderDB

func NewTestDownloaderDB(tb testing.TB) kv.RwDB

func NewTestPoolDB

func NewTestPoolDB(tb testing.TB) kv.RwDB

func NewTestPoolTx

func NewTestPoolTx(tb testing.TB) (kv.RwDB, kv.RwTx)

func NewTestSentryTx

func NewTestSentryTx(tb testing.TB) (kv.RwDB, kv.RwTx)

func NewTestSentrylDB

func NewTestSentrylDB(tb testing.TB) kv.RwDB

func NewTestTx

func NewTestTx(tb testing.TB) (kv.RwDB, kv.RwTx)

Types

This section is empty.

Jump to

Keyboard shortcuts

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