package
0.2.0
Repository: https://github.com/hlcfan/mux-contrib.git
Documentation: pkg.go.dev

# Functions

BlacklistURL addes urls to blacklist.
NewHTTPInstrumentationMiddleware creates new metric middleware.

# Structs

HTTPInstrumentationMiddleware is the middleware to collect metrics.
RecoveryMiddleware is the rescue to panic.

# Interfaces

Logger is used to print logs.
MetricReporter defines what kinds of metrics it supports go:generate mockgen -source=http_instrumentation.go -destination=mock_http_instrumentation_test.go -package=middleware_test.