batchr

package
v0.0.0-...-0b30333 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2020 License: MIT Imports: 8 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 Open

func Open(cache, dir, valDir string) (*DB, error)

func (*DB) GetValue

func (db *DB) GetValue(key []byte, cb func(val []byte) error) error

func (*DB) HasValue

func (db *DB) HasValue(key []byte) error

func (*DB) RevertSet

func (db *DB) RevertSet(key []byte) error

func (*DB) SetEntry

func (db *DB) SetEntry(e *kvi.Entry) error

Jump to

Keyboard shortcuts

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