Documentation ¶
Index ¶
- Constants
- func OpenPath(path string) (kv.KV, error)
- type DB
- type Iterator
- func (it *Iterator) Close() error
- func (it *Iterator) Err() error
- func (it *Iterator) Key() kv.Key
- func (it *Iterator) Next(ctx context.Context) bool
- func (it *Iterator) Reset()
- func (it *Iterator) Seek(ctx context.Context, key kv.Key) bool
- func (it *Iterator) Val() kv.Value
- func (it *Iterator) WithPrefix(pref kv.Key) kv.Iterator
- type Tx
- func (tx *Tx) Close() error
- func (tx *Tx) Commit(ctx context.Context) error
- func (tx *Tx) Del(ctx context.Context, k kv.Key) error
- func (tx *Tx) Get(ctx context.Context, key kv.Key) (kv.Value, error)
- func (tx *Tx) GetBatch(ctx context.Context, keys []kv.Key) ([]kv.Value, error)
- func (tx *Tx) Put(ctx context.Context, k kv.Key, v kv.Value) error
- func (tx *Tx) Scan(ctx context.Context, opts ...kv.IteratorOption) kv.Iterator
Constants ¶
View Source
const (
Name = "bbolt"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Iterator ¶
type Iterator struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.