Versions in this module Expand all Collapse all v1 v1.3.19 Jun 6, 2023 v1.3.18 Jun 6, 2023 Changes in this version + const CollectionSepa + func IsErrNotFound(err error) bool + func ParsePath(path string) (string, string) + type BuntDriver struct + func NewBuntDB(path string) (*BuntDriver, error) + func (bd *BuntDriver) Close() error + func (bd *BuntDriver) Delete(collection, key string) error + func (bd *BuntDriver) DeleteCollection(collection string) error + func (bd *BuntDriver) Get(collection, key string, object any) error + func (bd *BuntDriver) GetAll(collection, pattern string) (map[string]string, error) + func (bd *BuntDriver) GetString(collection, key string) (string, error) + func (bd *BuntDriver) List(collection, pattern string) ([]string, error) + func (bd *BuntDriver) Set(collection, key string, object any) error + func (bd *BuntDriver) SetString(collection, key, data string) error + type Driver interface + Close func() error + Delete func(collection, key string) error + DeleteCollection func(collection string) error + Get func(collection, key string, object any) error + GetAll func(collection, pattern string) (map[string]string, error) + GetString func(collection, key string) (string, error) + List func(collection, pattern string) ([]string, error) + Set func(collection, key string, object any) error + SetString func(collection, key, data string) error + type ErrNotFound struct + func NewErrNotFound(collection, key string) *ErrNotFound + func (e *ErrNotFound) Error() string