Documentation ¶
Index ¶
- func Key(bucket string, key []byte) []byte
- func LeafKeyToKey(bucket string, key []byte) []byte
- func Prefix(bucket string) []byte
- type Base
- func (b *Base) Clear(bucket string)
- func (b *Base) Close() error
- func (b *Base) Delete(key []byte) error
- func (b *Base) Foreach(bucket string) map[string][]byte
- func (b *Base) Get(key []byte) ([]byte, error)
- func (b *Base) GetFromBucket(bucket string, key []byte) ([]byte, error)
- func (b *Base) Has(key []byte) (bool, error)
- func (b *Base) Put(key []byte, value []byte) error
- func (b *Base) PutInBucket(bucket string, key, value []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LeafKeyToKey ¶
Types ¶
type Base ¶
type Base struct {
// contains filtered or unexported fields
}
func (*Base) GetFromBucket ¶
Click to show internal directories.
Click to hide internal directories.