Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BadgerStore ¶
type BadgerStore struct {
// contains filtered or unexported fields
}
BadgerStore returns a store that operate on Badger database. We have a short queue to be able to do bulk writes.
func New ¶
func New(opts badger.Options) (*BadgerStore, error)
New returns a new BadgerStore with the provided options.
func (*BadgerStore) Close ¶
func (b *BadgerStore) Close() error
func (*BadgerStore) Delete ¶
func (b *BadgerStore) Delete(ctx context.Context, set, key string) error
Click to show internal directories.
Click to hide internal directories.