Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlobStore ¶
type BlobStore interface {
// matches badger.DB
Close() error
NewTransaction(bool) *badger.Txn
// Our specific functions
GetCommitTimestamp() (int64, error)
SetCommitTimestamp(*badger.Txn, int64) error
}
func New ¶
func New( pluginName, dataDir string, logger *slog.Logger, promRegistry prometheus.Registerer, badgerCacheSize int64, ) (BlobStore, error)
For now, this always returns a badger plugin
Click to show internal directories.
Click to hide internal directories.