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.
Click to show internal directories.
Click to hide internal directories.