Co-authored-by: cool-developer <51834436+cool-develope@users.noreply.github.com> Co-authored-by: yihuang <huang@crypto.com> |
||
|---|---|---|
| .. | ||
| iterator.go | ||
| README.md | ||
| store_test.go | ||
| store.go | ||
memkv
The memkv.Store implementation defines an in-memory KVStore, which is internally
backed by a thread-safe BTree. The memkv.Store does not provide any branching
functionality and should be used as an ephemeral store, typically reset between
blocks. A memkv.Store contains no reference to a parent store, but can be used
as a parent store for other stores. The memkv.Store is can be useful for testing
purposes and where state persistence is not required or should be ephemeral.