package prefixed
import "go.dedis.ch/dela/core/store/prefixed"
Index ¶
- func NewPrefixedKey(prefix, key []byte) []byte
- func NewReadable(prefix string, r store.Readable) store.Readable
- func NewSnapshot(prefix string, snap store.Snapshot) store.Snapshot
Functions ¶
func NewPrefixedKey ¶
NewPrefixedKey is exported because it is used in integration tests. It creates a 256bit (hashed) key from a prefix and a base key.
func NewReadable ¶
NewReadable creates a new prefixed Readable.
func NewSnapshot ¶
NewSnapshot creates a new prefixed Snapshot.
Source Files ¶
prefixed.go
- Version
- v0.1.0 (latest)
- Published
- Apr 10, 2024
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 1 month ago –
Tools for package owners.