Documentation ¶
Overview ¶
Package httpd contains http routers.
Index ¶
Constants ¶
View Source
const ( // EngineURLParam defines query url parameter which is used to switch between // prometheus and m3query engines. EngineURLParam = "engine" )
Variables ¶
This section is empty.
Functions ¶
func NewGraphiteFindRouter ¶ added in v1.2.0
func NewGraphiteFindRouter() options.GraphiteFindRouter
NewGraphiteFindRouter returns a new graphite find router.
func NewGraphiteRenderRouter ¶ added in v1.2.0
func NewGraphiteRenderRouter() options.GraphiteRenderRouter
NewGraphiteRenderRouter returns a new graphite render router.
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, middlewareConfig config.MiddlewareConfiguration, 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.