Documentation ¶
Overview ¶
Package badger contains convenience helpers for integrating BadgerDB.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLogAdapter ¶
NewLogAdapter returns a badger.Logger backed by an oasis-node logger.
Types ¶
type GCWorker ¶
type GCWorker struct {
// contains filtered or unexported fields
}
GCWorker is a BadgerDB value log GC worker.
func NewGCWorker ¶
NewGCWorker creates a new BadgerDB value log GC worker for the provided db, logging to the specified logger.
Click to show internal directories.
Click to hide internal directories.