Versions in this module Expand all Collapse all v0 v0.1.0 May 20, 2022 Changes in this version + type DB struct + func New(db *bbolt.DB) (*DB, error) + func Open(path string, mode os.FileMode, options *bbolt.Options) (*DB, error) + func (s *DB) CreateKV(ctx context.Context, b []byte, v ...kv.Pair) error + func (s *DB) CreateKVFn(ctx context.Context, b []byte, fn func(ctx kv.PutContext) error) error + func (s *DB) DeleteKV(ctx context.Context, b []byte, v ...[]byte) error + func (s *DB) DeleteKVFn(ctx context.Context, b []byte, fn func(ctx kv.DeleteContext) error) error + func (s *DB) ListKV(ctx context.Context, b []byte) (list []kv.Pair, err error) + func (s *DB) ListKVFn(ctx context.Context, b []byte, fn func(k []byte, v []byte) error) error + func (s *DB) ReadKV(ctx context.Context, b []byte, v ...[]byte) (list []kv.Pair, err error) + func (s *DB) ReadKVFn(ctx context.Context, b []byte, fn func(ctx kv.GetContext) error) error + func (s *DB) StoreKV(ctx context.Context, b []byte, v ...kv.Pair) error + func (s *DB) StoreKVFn(ctx context.Context, b []byte, fn func(ctx kv.PutContext) error) error + func (s *DB) UpdateKV(ctx context.Context, b []byte, v ...kv.Pair) error + func (s *DB) UpdateKVFn(ctx context.Context, b []byte, fn func(ctx kv.PutContext) error) error