Documentation ¶
Index ¶
Constants ¶
View Source
const ( // EngineHeaderName defines header name which is used to switch between // prometheus and m3query engines. EngineHeaderName = headers.M3HeaderPrefix + "Engine" // EngineURLParam defines query url parameter which is used to switch between // prometheus and m3query engines. EngineURLParam = "engine" )
Variables ¶
This section is empty.
Functions ¶
func NewQueryRouter ¶ added in v0.15.3
func NewQueryRouter() options.QueryRouter
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler represents the top-level HTTP handler.
func NewHandler ¶
func NewHandler( handlerOptions options.HandlerOptions, customHandlers ...options.CustomHandler, ) *Handler
NewHandler returns a new instance of handler with routes.
func (*Handler) RegisterRoutes ¶
RegisterRoutes registers all http routes.
Click to show internal directories.
Click to hide internal directories.