Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler represents an HTTP handler.
func NewHandler ¶
func NewHandler( downsamplerAndWriter ingest.DownsamplerAndWriter, tagOptions models.TagOptions, engine *executor.Engine, m3dbClusters m3.Clusters, clusterClient clusterclient.Client, cfg config.Configuration, embeddedDbCfg *dbconfig.DBConfiguration, enforcer cost.ChainedEnforcer, fetchOptionsBuilder handler.FetchOptionsBuilder, queryContextOptions models.QueryContextOptions, scope tally.Scope, ) (*Handler, error)
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.