memdb

package
v0.0.0-...-be1c10e Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package memdb implements an instance of the database package that uses memory for the block storage.

This is primary used for testing purposes as normal operations require a persistent block storage mechanism which this is not.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrDbClosed = errors.New("database is closed")
)

Errors that the various database functions may return.

Functions

func NewMemDb

func NewMemDb() (database.Db, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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