db

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2022 License: Apache-2.0 Imports: 1 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 (d *DB) Close()

func (*DB) Get

func (d *DB) Get(key []byte, fn func(value []byte) error) error

func (*DB) Keys

func (d *DB) Keys(fn func(keys [][]byte)) error

func (*DB) Open

func (d *DB) Open(dir string, log bool) error

func (*DB) Set added in v0.2.0

func (d *DB) Set(key, value []byte) error

func (*DB) Values

func (d *DB) Values(fn func(keys, values [][]byte)) error

Jump to

Keyboard shortcuts

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