Documentation ¶
Index ¶
- Variables
- type KVStore
- func (s *KVStore) Close() error
- func (s *KVStore) CountKV(bucket []byte) (int, error)
- func (s *KVStore) CountKVPrefix(bucket, prefix []byte) (int, error)
- func (s *KVStore) EachB(bucket []byte, f func(b *bbolt.Bucket) error) error
- func (s *KVStore) EachKV(bucket []byte, f func(k, v []byte, n int) error) error
- func (s *KVStore) EachKVPrefix(bucket, prefix []byte, f func(k, v []byte, n int) error) error
- func (s *KVStore) Get(bucket, k []byte) []byte
- func (s *KVStore) Query(f func(tx *bbolt.Tx) error) error
- func (s *KVStore) QueryAndUpdateV(bucket, k []byte, f func(k, v []byte, n int) ([]byte, error)) error
- func (s *KVStore) QueryAndUpdateVPrefix(bucket, prefix []byte, f func(k, v []byte, n int) ([]byte, error)) error
- func (s *KVStore) QueryB(bucket []byte, f func(b *bbolt.Bucket) error) error
- func (s *KVStore) QueryV(bucket, k []byte, f func(k, v []byte, n int) error) error
- func (s *KVStore) Update(f func(tx *bbolt.Tx) error) error
- func (s *KVStore) UpdateB(bucket []byte, f func(b *bbolt.Bucket) error) error
- func (s *KVStore) UpdateV(bucket, k, v []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.