kv

package
v0.0.0-...-095f669 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 1 Imported by: 4

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