prefixed

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL