Documentation ¶
Index ¶
- func OpenBadgerDB(dir string) (*store.DB, error)
- func OpenDBWithOpts(opts badger.Options) (*store.DB, error)
- func RunBadgerBench(b *testing.B, file []byte, bench func(b *testing.B, db store.IDB))
- func RunBadgerTest(t *testing.T, opts *badger.Options, test func(t *testing.T, db store.IDB))
- type BadgerDB
- type BadgerItem
- type BadgerIterator
- type BadgerTxn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunBadgerBench ¶
Types ¶
type BadgerDB ¶
type BadgerDB struct {
// contains filtered or unexported fields
}
func NewBenchDB ¶
type BadgerItem ¶
type BadgerIterator ¶
Iterators
func (*BadgerIterator) Item ¶
func (bIt *BadgerIterator) Item() store.IItem
type BadgerTxn ¶
type BadgerTxn struct {
// contains filtered or unexported fields
}
Transactions
func (*BadgerTxn) NewIterator ¶
Click to show internal directories.
Click to hide internal directories.