Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustCreateOrOpenBadgerDB ¶
func MustCreateOrOpenBadgerDB(dir string, opt ...badger.Options) *badger.DB
MustCreateOrOpenBadgerDB opens existing DB or creates new empty
func OpenBadgerDB ¶
OpenBadgerDB opens existing Badger DB
Types ¶
type DB ¶
type DB struct {
*badger.DB
}
func (*DB) BatchedWriter ¶
func (a *DB) BatchedWriter() common.KVBatchedWriter
Click to show internal directories.
Click to hide internal directories.