keys

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SinglePrefix = "single:"
	BulkPrefix   = "bulk:"
	GenPrefix    = "gen:"
)

Variables

This section is empty.

Functions

func BulkKey

func BulkKey(prefix string, keys []string) string

sorts a copy before calling BulkKeySorted

func BulkKeySorted

func BulkKeySorted(prefix string, sortedKeys []string) string

length-prefix each key into one preallocated []byte

func BulkStoragePrefix

func BulkStoragePrefix(namespace string) string

func GenStorageKey

func GenStorageKey(namespace, storageKey string) string

func SingleStorageKey

func SingleStorageKey(namespace, userKey string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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