Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct { Router *mux.Router CLFLogger *log.Logger // contains filtered or unexported fields }
Handler represents an HTTP handler.
func NewHandler ¶
func NewHandler(storage storage.Storage, engine *executor.Engine, clusterClient m3clusterClient.Client, cfg config.Configuration, 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.