Versions in this module Expand all Collapse all v5 v5.0.0 Jan 31, 2026 Changes in this version + func NewHandler() echo.HandlerFunc + func NewHandlerWithConfig(config HandlerConfig) echo.HandlerFunc + func NewMiddleware(subsystem string) echo.MiddlewareFunc + func NewMiddlewareWithConfig(config MiddlewareConfig) echo.MiddlewareFunc + func RunPushGatewayGatherer(ctx context.Context, config PushGatewayConfig) error + func WriteGatheredMetrics(writer io.Writer, gatherer prometheus.Gatherer) error + type HandlerConfig struct + Gatherer prometheus.Gatherer + type LabelValueFunc func(c *echo.Context, err error) string + type MiddlewareConfig struct + AfterNext func(c *echo.Context, err error) + BeforeNext func(c *echo.Context) + CounterOptsFunc func(opts prometheus.CounterOpts) prometheus.CounterOpts + DoNotUseRequestPathFor404 bool + HistogramOptsFunc func(opts prometheus.HistogramOpts) prometheus.HistogramOpts + LabelFuncs map[string]LabelValueFunc + Namespace string + Registerer prometheus.Registerer + Skipper middleware.Skipper + StatusCodeResolver func(c *echo.Context, err error) int + Subsystem string + func (conf MiddlewareConfig) ToMiddleware() (echo.MiddlewareFunc, error) + type PushGatewayConfig struct + ClientTransport http.RoundTripper + ErrorHandler func(err error) error + Gatherer prometheus.Gatherer + PushGatewayURL string + PushInterval time.Duration Other modules containing this package github.com/labstack/echo-contrib