route

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package route stores common HTTP route handling code

Index

Constants

View Source
const (
	// NameReplace is the parameter that gets replaced.
	NameReplace = "name"

	// LabelValuesURL returns the url for the label values endpoint.
	LabelValuesURL = Prefix + "/label/{" + NameReplace + "}/values"

	// LabelNamesURL returns the url for the label names endpoint.
	LabelNamesURL = Prefix + "/labels"

	// QueryRangeURL return the url for the query range endpoint.
	QueryRangeURL = Prefix + "/query_range"

	// QueryURL return the url for the query endpoint.
	QueryURL = Prefix + "/query"
)
View Source
const (
	// Prefix is the v1 prefix for all coordinator routes.
	Prefix = "/api/v1"
)

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