badgerdb

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2019 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(db *badger.DB) db.Iterable

New returns a new `db.Iterable`.

Types

type Iterator

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

Iterator implements the `db.Iterator` interface.

func (*Iterator) Key

func (iter *Iterator) Key() (string, error)

Key implements the `db.Iterator` interface.

func (*Iterator) Next

func (iter *Iterator) Next() bool

Next implements the `db.Iterator` interface.

func (*Iterator) Value

func (iter *Iterator) Value() (ret []byte, err error)

Value implements the `db.Iterator` interface.

Jump to

Keyboard shortcuts

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