Versions in this module Expand all Collapse all v1 v1.0.0 Aug 25, 2020 Changes in this version + type Bulk interface + Delete func(key []byte) + DiscardLast func() + Flush func() + Set func(key, value []byte) + type DB interface + Close func() + Delete func(key []byte) + Exist func(key []byte) bool + Get func(key []byte) []byte + Iterator func(start, end []byte) Iterator + NewBulk func() Bulk + NewTx func() Transaction + Set func(key, value []byte) + Type func() string + func NewDB(dbimpltype ImplType, dir string) DB + type ImplType string + const BadgerImpl + const LevelImpl + const MemoryImpl + type Iterator interface + Key func() []byte + Next func() + Valid func() bool + Value func() []byte + type Transaction interface + Commit func() + Delete func(key []byte) + Discard func() + Set func(key, value []byte)