kv

package
v0.50.9 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertKeyAtLeastLength

func AssertKeyAtLeastLength(bz []byte, length int)

AssertKeyAtLeastLength panics when store key length is less than the given length.

func AssertKeyLength

func AssertKeyLength(bz []byte, length int)

AssertKeyLength panics when store key length is not equal to the given length.

Types

type Pair

type Pair struct {
	Key   []byte
	Value []byte
}

type Pairs

type Pairs struct {
	Pairs []Pair
}

Jump to

Keyboard shortcuts

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