Documentation ¶
Index ¶
- type BadgerStore
- func (bs *BadgerStore) All(pfx []byte, out *[]database.Item, preload bool) error
- func (bs BadgerStore) Close() error
- func (bs *BadgerStore) Count(pfx []byte) (int, error)
- func (bs *BadgerStore) Delete(obj database.Item) error
- func (bs *BadgerStore) Get(obj database.Item) (database.Item, error)
- func (bs BadgerStore) IsKeyNotFoundErr(err error) bool
- func (bs BadgerStore) KeyNotFoundErr() error
- func (bs *BadgerStore) NextID() (store.Identity, error)
- func (bs *BadgerStore) Set(obj database.Item) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BadgerStore ¶
type BadgerStore struct {
// contains filtered or unexported fields
}
func New ¶
func New(config configuration.DatabaseConfiguration) (*BadgerStore, error)
func (BadgerStore) Close ¶
func (bs BadgerStore) Close() error
func (BadgerStore) IsKeyNotFoundErr ¶
func (bs BadgerStore) IsKeyNotFoundErr(err error) bool
func (BadgerStore) KeyNotFoundErr ¶ added in v0.3.0
func (bs BadgerStore) KeyNotFoundErr() error
Click to show internal directories.
Click to hide internal directories.