Documentation ¶
Index ¶
- type BboltDBKVStore
- func (b *BboltDBKVStore) Bucket(prefix string) (KVStore, error)
- func (b *BboltDBKVStore) Close() error
- func (b *BboltDBKVStore) Delete(key []byte) error
- func (b *BboltDBKVStore) Get(key []byte) ([]byte, error)
- func (b *BboltDBKVStore) Open() error
- func (b *BboltDBKVStore) Put(key []byte, value []byte) error
- type KVStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BboltDBKVStore ¶
type BboltDBKVStore struct {
// contains filtered or unexported fields
}
func NewBboltDBKVStore ¶
func NewBboltDBKVStore(dbPath string) *BboltDBKVStore
func (*BboltDBKVStore) Close ¶
func (b *BboltDBKVStore) Close() error
func (*BboltDBKVStore) Delete ¶
func (b *BboltDBKVStore) Delete(key []byte) error
func (*BboltDBKVStore) Open ¶
func (b *BboltDBKVStore) Open() error
Click to show internal directories.
Click to hide internal directories.