Documentation ¶
Index ¶
- Constants
- type BadgerLogger
- type Driver
- type EntriesIterator
- type Store
- func (s *Store) Close()
- func (s *Store) Delete(ctx context.Context, partitionKey, key []byte) error
- func (s *Store) Get(ctx context.Context, partitionKey, key []byte) (*kv.ValueWithPredicate, error)
- func (s *Store) Scan(ctx context.Context, partitionKey, start []byte) (kv.EntriesIterator, error)
- func (s *Store) Set(ctx context.Context, partitionKey, key, value []byte) error
- func (s *Store) SetIf(ctx context.Context, partitionKey, key, value []byte, ...) error
Constants ¶
View Source
const (
DriverName = "local"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BadgerLogger ¶
func (*BadgerLogger) Debug ¶
func (l *BadgerLogger) Debug(_ ...interface{})
func (*BadgerLogger) Debugf ¶
func (l *BadgerLogger) Debugf(_ string, _ ...interface{})
func (*BadgerLogger) Info ¶
func (l *BadgerLogger) Info(_ ...interface{})
func (*BadgerLogger) Infof ¶
func (l *BadgerLogger) Infof(_ string, _ ...interface{})
type EntriesIterator ¶
type EntriesIterator struct {
// contains filtered or unexported fields
}
func (*EntriesIterator) Close ¶
func (e *EntriesIterator) Close()
func (*EntriesIterator) Entry ¶
func (e *EntriesIterator) Entry() *kv.Entry
func (*EntriesIterator) Err ¶
func (e *EntriesIterator) Err() error
func (*EntriesIterator) Next ¶
func (e *EntriesIterator) Next() bool
Click to show internal directories.
Click to hide internal directories.