func NewKVDBStorerLoaderDeleter(
	ns []byte, db db.KVDB, keyChecker Checker, valueChecker Checker,
) StorerLoaderDeleter {
	return &kvdbSLD{
		ns: ns,
		db: db,
		kc: keyChecker,
		vc: valueChecker,
	}
}
NewKVDBStorerLoaderDeleter returns a new StorerLoaderDeleter backed by a db.KVDB instance and
with the given key and value checkers.
package storage
import (
	"bytes"
	"github.com/drausin/libri/libri/common/db"
)
type Storer interface {
	Store(key []byte, value []byte) error
	Iterate(keyLB, keyUB []byte, done chan struct{}, callback func(key, value []byte)) error
}
type Loader interface {
	Load(key []byte) ([]byte, error)
}
type Deleter interface {
	Delete(key []byte) error
}
type StorerLoader interface {
	Storer
	Loader
}
type StorerLoaderDeleter interface {
	StorerLoader
	Deleter
}
type kvdbSLD struct {
	ns []byte
	db db.KVDB
	kc Checker
	vc Checker
}