Documentation ¶
Index ¶
- func DisableLog()
- func New(cfg *types.Store, sub []byte) queue.Module
- func SetLogLevel(level string)
- type KVStore
- func (kvs *KVStore) Close()
- func (kvs *KVStore) Commit(req *types.ReqHash) ([]byte, error)
- func (kvs *KVStore) Del(req *types.StoreDel) ([]byte, error)
- func (kvs *KVStore) Get(datas *types.StoreGet) [][]byte
- func (kvs *KVStore) IterateRangeByStateHash(statehash []byte, start []byte, end []byte, ascending bool, ...)
- func (kvs *KVStore) MemSet(datas *types.StoreSet, sync bool) ([]byte, error)
- func (kvs *KVStore) ProcEvent(msg queue.Message)
- func (kvs *KVStore) Rollback(req *types.ReqHash) ([]byte, error)
- func (kvs *KVStore) Set(datas *types.StoreSet, sync bool) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KVStore ¶
KVStore implementation
func (*KVStore) IterateRangeByStateHash ¶
func (kvs *KVStore) IterateRangeByStateHash(statehash []byte, start []byte, end []byte, ascending bool, fn func(key, value []byte) bool)
IterateRangeByStateHash method
Click to show internal directories.
Click to hide internal directories.