Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BadgerLogr ¶
BadgerLogr wraps a logr.Logger and implements the badger.Logger interface
func (*BadgerLogr) Debugf ¶
func (log *BadgerLogr) Debugf(format string, a ...interface{})
func (*BadgerLogr) Errorf ¶
func (log *BadgerLogr) Errorf(format string, a ...interface{})
func (*BadgerLogr) Infof ¶
func (log *BadgerLogr) Infof(format string, a ...interface{})
func (*BadgerLogr) Warningf ¶
func (log *BadgerLogr) Warningf(format string, a ...interface{})
type BadgerOptions ¶
type BadgerOptions = badger.Options
type Persistence ¶
Persistence represents objects that provide data storage and persistence, eventual or immediate, for use as both Cache and/or Store
func NewBadger ¶
func NewBadger(path string, options *BadgerOptions) (Persistence, error)
Click to show internal directories.
Click to hide internal directories.