package
0.0.0-20240727100037-04777cf24b8b
Repository: https://github.com/omgolab/go-commons.git
Documentation: pkg.go.dev

# Functions

NewBadgerDB returns a new initialized badgerDB database implementing the DB interface.
WithDataDir sets the data directory for the badgerDB database.
WithGcDiscardRatio sets the garbage collection discard ratio for the badgerDB database.
WithGcInterval sets the garbage collection interval for the badgerDB database.
WithLogger sets the logger for the badgerDB database.

# Interfaces

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

# Type aliases

No description provided by the author