Documentation ¶
Index ¶
- func AddValue(bucket string, key []byte, value []byte) error
- func AddValueCompress(bucket string, key []byte, value []byte) error
- func DeleteKey(bucket string, key []byte) error
- func ExistsKey(bucket string, key []byte) (bool, error)
- func GetCompressedValue(bucket string, key []byte) ([]byte, error)
- func GetValue(bucket string, key []byte) ([]byte, error)
- func Register(name string, h KVStore)
- type KVStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KVStore ¶
type KVStore interface { Open() error Close() error GetValue(bucket string, key []byte) ([]byte, error) GetCompressedValue(bucket string, key []byte) ([]byte, error) AddValueCompress(bucket string, key []byte, value []byte) error AddValue(bucket string, key []byte, value []byte) error ExistsKey(bucket string, key []byte) (bool, error) DeleteKey(bucket string, key []byte) error }
Click to show internal directories.
Click to hide internal directories.