constants

package
v0.0.0-...-31f8ae8 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// IDREGEX defines query string
	IDREGEX = `{id:[0-9]+$}`

	// PAGEREGEX defines query string
	PAGEREGEX = `{page:[0-9]+$}`

	// PERPAGEREGEX defines query string
	// Notice:
	// Only non-capturing groups are accepted: e.g.
	// (?:pattern:pattern:pattern) instead of (pattern|pattern|pattern)
	PERPAGEREGEX = `{per_page:(?:50:100:250)$}`

	// SORTREGEX defines query string
	// Notice:
	// Only non-capturing groups are accepted: e.g.
	// (?:pattern:pattern:pattern) instead of (pattern|pattern|pattern)
	SORTREGEX = `{sort:(?:year:title:format)$}`

	// SORTORDERREGEX defines query string
	// Notice:
	// Only non-capturing groups are accepted: e.g.
	// (?:pattern:pattern) instead of (pattern|pattern)
	SORTORDERREGEX = `{sort_order:(?:asc:desc)$}`
)
View Source
const (
	// ARTISTSURI is a constant
	ARTISTSURI = "/artists/"
	// ARTISTRELEASESURI is a constant
	ARTISTRELEASESURI = "/artists/releases/"
	// HEALTHURI is a constant
	HEALTHURI = "/health"
	// HOMEURI is a constant
	HOMEURI = "/home"
	// LABELSURI is a constant
	LABELSURI = "/labels/"
	// LABELRELEASESURI is a constant
	LABELRELEASESURI = "/labels/releases/"
	// MASTERSURI is a constant
	MASTERSURI = "/masters/"
	// MASTERVERSIONSURI is a constant
	MASTERVERSIONSURI = "/masters/versions/"
	// RELEASESURI is a constant
	RELEASESURI = "/releases/"
	// RELEASERATINGURI is a constant
	RELEASERATINGURI = "/release/rating/"
	// SWAGGERURI is a constant
	SWAGGERURI = "/swagger/"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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