Documentation
¶
Index ¶
Constants ¶
View Source
const BitDelete byte = 1 << 0 // Set if the key has been deleted.
Variables ¶
This section is empty.
Functions ¶
func NoReadTracker ¶
func NoReadTracker(_ []byte)
Types ¶
type ReadTracker ¶
type ReadTracker func(key []byte)
type Writes ¶
type Writes interface { Iterator(prefix []byte, reversed bool) Iterator Get(key []byte) (Item, error) Set(e *badger.Entry) Delete(key []byte) Replay(fn func(e *badger.Entry) error) error Close() error }
func New ¶
func New(path string, tx *badger.Txn, maxCount, maxSize int64, threshold int, addReadKey ReadTracker) Writes
func NewWithDB ¶
func NewWithDB(db *badger.DB, tx *badger.Txn, addReadKey ReadTracker) Writes
Click to show internal directories.
Click to hide internal directories.