# Functions

BadgerTrain creates a zstd dictionary for a given BadgerDatabase DB namespace.
DefaultBadgerOptions are the default options used to initialized a new BadgerDB.
NewBadgerDatabase creates a new BadgerDatabase.
PerformanceBadgerOptions are performance geared BadgerDB options that use much more RAM than the default settings.
WithCompressorEntries provides zstd dictionaries for given namespaces.
WithCustomSettings allows for overriding all default BadgerDB options with custom settings.
WithIndexCacheSize override the DefaultIndexCacheSize setting for the BadgerDB.
WithoutCompression disables zstd compression.
WithWriterShards overrides the default shards used in the writer utils.MutexMap.

# Constants

DefaultBlockCacheSize is 0 MB.
DefaultCompressionMode is the default block compression setting.
DefaultIndexCacheSize is 2 GB.
DefaultLogValueSize is 64 MB.
DefaultMaxTableSize is 256 MB.
PerformanceLogValueSize is 256 MB.
PerformanceMaxTableSize is 3072 MB.
TinyIndexCacheSize is 10 MB.

# Structs

BadgerDatabase is a wrapper around Badger DB that implements the Database interface.
BadgerTransaction is a wrapper around a Badger DB transaction that implements the DatabaseTransaction interface.

# Interfaces

Database is an interface that provides transactional access to a KV store.
Transaction is an interface that provides access to a KV store within some transaction context provided by a Database.

# Type aliases

BadgerOption is used to overwrite default values in BadgerDatabase construction.
CommitWorker is returned by a module to be called after changes have been committed.