Versions in this module Expand all Collapse all v1 v1.0.0 Jun 14, 2020 Changes in this version + var ErrNoPath error = errors.New("db path not entered") + func Close() + func Delete(key []byte) + func Get(key []byte) []byte + func Has(key []byte) bool + func Prefix(prefix []byte, fn PairIteratorFunc) + func Range(from []byte, to []byte, fn PairIteratorFunc) + func Set(key, value []byte) + type DB interface + Close func() + Delete func(key []byte) + Get func(key []byte) []byte + Has func(key []byte) bool + Prefix func(prefix []byte, fn PairIteratorFunc) + Range func(from []byte, to []byte, fn PairIteratorFunc) + Set func(key, value []byte) + func Open(params string) (DB, error) + type PairIteratorFunc func(key []byte, value []byte) bool