Versions in this module Expand all Collapse all v0 v0.1.3 Aug 12, 2023 v0.1.2 Aug 5, 2023 Changes in this version + type BadgerDB struct + func NewDB(dir string) (*BadgerDB, error) + func NewDBWithOptions(opts badger.Options) (*BadgerDB, error) + func (b *BadgerDB) Close() error + func (b *BadgerDB) DeleteVersion(target uint64) error + func (b *BadgerDB) ReadWriter() db.DBReadWriter + func (b *BadgerDB) Reader() db.DBReader + func (b *BadgerDB) ReaderAt(version uint64) (db.DBReader, error) + func (b *BadgerDB) Revert() error + func (b *BadgerDB) SaveNextVersion() (uint64, error) + func (b *BadgerDB) SaveVersion(target uint64) error + func (b *BadgerDB) Stats() map[string]string + func (b *BadgerDB) Versions() (db.VersionSet, error) + func (b *BadgerDB) Writer() db.DBWriter