Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BadgerKVStore ¶
func NewBadgerKVStore ¶
func NewBadgerKVStore(dbPath string, ttl time.Duration) (*BadgerKVStore, error)
func (*BadgerKVStore) Close ¶
func (b *BadgerKVStore) Close() error
Close implements ports.KeyValueStore.
type BadgerSlogLogger ¶
func NewBadgerSlogLogger ¶
func NewBadgerSlogLogger(logger *slog.Logger) BadgerSlogLogger
func (BadgerSlogLogger) Debugf ¶
func (b BadgerSlogLogger) Debugf(format string, args ...any)
Debugf implements badger.Logger.
func (BadgerSlogLogger) Errorf ¶
func (b BadgerSlogLogger) Errorf(format string, args ...any)
Errorf implements badger.Logger.
func (BadgerSlogLogger) Infof ¶
func (b BadgerSlogLogger) Infof(format string, args ...any)
Infof implements badger.Logger.
func (BadgerSlogLogger) Warningf ¶
func (b BadgerSlogLogger) Warningf(format string, args ...any)
Warningf implements badger.Logger.
Click to show internal directories.
Click to hide internal directories.