Versions in this module Expand all Collapse all v1 v1.1.0 Apr 27, 2022 v1.0.0 Jan 30, 2021 Changes in this version + func NewTimer(logger logrus.FieldLogger, handler http.Handler) http.Handler + type Handler struct + func NewHandler(logger logrus.FieldLogger, listen, metricsListen string) *Handler + func NewHandlerWithContext(ctx context.Context, logger logrus.FieldLogger, listen, metricsListen string) *Handler + func (h *Handler) AddOkHandler(path string) + func (h *Handler) Handle(path string, handler http.Handler) *mux.Route + func (h *Handler) HandleFunc(path string, f func(http.ResponseWriter, *http.Request)) *mux.Route + func (h *Handler) HandleFuncPrefix(prefix string, f func(http.ResponseWriter, *http.Request)) *mux.Route + func (h *Handler) HandlePrefix(prefix string, handler http.Handler) *mux.Route + func (h *Handler) Serve() + func (h *Handler) SetGracefulShutdownDuration(duration time.Duration) + type OkHandler struct + func NewOkHandler(logger logrus.FieldLogger) *OkHandler + func (h *OkHandler) ServeHTTP(rw http.ResponseWriter, _ *http.Request) + type Timer struct + func (h *Timer) ServeHTTP(rw http.ResponseWriter, r *http.Request)