keyutil

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Between

func Between(startKey, endKey, key []byte) bool

Between returns true if startKey < key < endKey. If the key is empty and the boundary is right, the keys is infinite.

func BuildKeyRangeKey

func BuildKeyRangeKey(startKey, endKey []byte) string

BuildKeyRangeKey build key for a keyRange

func MaxKey

func MaxKey(a, b []byte) []byte

MaxKey return the bigger key for the given keys.

func MinKey

func MinKey(a, b []byte) []byte

MinKey returns the smaller key for the given keys.

Types

This section is empty.

Jump to

Keyboard shortcuts

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