util

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const PaginationMaxItems = 1000

paginationMaxItems defines how many items should a single result return. This values should not be greater than orm.queryRangeLimit so that each query returns enough results.

Variables

View Source
var (
	BuildHash    = "dev"
	BuildVersion = "dev"
)

buildVersion and buildHash are set by the build process.

Functions

func NumericID added in v0.21.4

func NumericID(s string) ([]byte, error)

Types

type KeyValue added in v0.21.4

type KeyValue struct {
	Key   hexbytes  `json:"key"`
	Value orm.Model `json:"value"`
}

Jump to

Keyboard shortcuts

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