package
0.0.0-20230803065340-eb934a0893fc
Repository: https://github.com/sliceledger-blockchain/slice-ledger.git
Documentation: pkg.go.dev

# Functions

NewDiskKV creates a DiskKV that puts/gets pre-images as files in the given directory path.
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

ErrAlreadyExists is returned when a pre-image already exists in the KV store.
ErrNotFound is returned when a pre-image cannot be found in the KV store.

# Structs

DiskKV is a disk-backed key-value store, every key-value pair is a hex-encoded .txt file, with the value as content.
No description provided by the author
MemKV implements the KV store interface in memory, backed by a regular Go map.
No description provided by the author

# Interfaces

KV is a Key-Value store interface for pre-image data.

# Type aliases

No description provided by the author