memory

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	// contains filtered or unexported fields
}

func (*DB) Close

func (m *DB) Close() error

func (*DB) Get

func (m *DB) Get(key [storage.KeyLength]byte) (value []byte)

func (*DB) InitDB

func (m *DB) InitDB(string) error

func (*DB) Put

func (m *DB) Put(key [storage.KeyLength]byte, value []byte) error

func (*DB) PutBatch

func (m *DB) PutBatch(txList []storage.TX) error

Jump to

Keyboard shortcuts

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