delago.dedis.ch/dela/core/store/prefixed Index | Files

package prefixed

import "go.dedis.ch/dela/core/store/prefixed"

Index

Functions

func NewPrefixedKey

func NewPrefixedKey(prefix, key []byte) []byte

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

func NewReadable(prefix string, r store.Readable) store.Readable

NewReadable creates a new prefixed Readable.

func NewSnapshot

func NewSnapshot(prefix string, snap store.Snapshot) store.Snapshot

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.