Categorygithub.com/ehsanranjbar/badgerutils
modulepackage
0.0.0-20250206140059-0c7aa07fd502
Repository: https://github.com/ehsanranjbar/badgerutils.git
Documentation: pkg.go.dev

# README

badgerutils

A set of utility infrastructures which makes working with badger-db easier as an embedded database

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

NewRawKVPair creates a new RawKVPair.

# Structs

RawKVPair is a key-value pair with both key and value as byte slices.

# Interfaces

BadgerIterator is the interface that represents a badger iterator.
BadgerStore is a store that *badger.Txn is compatible with it and has the SetEntry operation which is mandatory for some low-level stores like PrefixStore and SerializedStore.
No description provided by the author
Iterator has the most common methods for *badger.Iterator along with a Value method which is used in pretty much all high-level stuff of this package because we mostly work with serialized values.
StoreInstance is a store that works with serialized values.