Versions in this module Expand all Collapse all v0 v0.37.0 Dec 7, 2023 Changes in this version + func Get(db *badger.DB, key []byte) ([]byte, error) + func IterateDB(db *badger.DB, f func(oid.Address) error) error + func New(opts ...Option) writecache.Cache + func OpenDB(p string, ro bool, l *logger.Logger) (*badger.DB, error) + type Option func(*options) + func WithBlobstor(bs writecache.MainStorage) Option + func WithFlushWorkersCount(c int) Option + func WithGCInterval(d time.Duration) Option + func WithLogger(log *logger.Logger) Option + func WithMaxCacheSize(sz uint64) Option + func WithMaxObjectSize(sz uint64) Option + func WithMetabase(db writecache.Metabase) Option + func WithMetrics(metrics writecache.Metrics) Option + func WithPath(path string) Option + func WithReportErrorFunc(f func(string, error)) Option v0.37.0-rc.1 Sep 14, 2023