Versions in this module Expand all Collapse all v0 v0.0.1 Mar 1, 2024 Changes in this version + type Storage struct + DB *badger.DB + func New(db *badger.DB) *Storage + func (sto *Storage) Delete(_ context.Context, key string) error + func (sto *Storage) Exists(_ context.Context, key string) bool + func (sto *Storage) List(_ context.Context, prefix string, recursive bool) ([]string, error) + func (sto *Storage) Load(_ context.Context, key string) ([]byte, error) + func (sto *Storage) Lock(_ context.Context, key string) error + func (sto *Storage) Stat(_ context.Context, key string) (certmagic.KeyInfo, error) + func (sto *Storage) Store(_ context.Context, key string, value []byte) error + func (sto *Storage) Unlock(_ context.Context, key string) error