package
0.332.0
Repository: https://github.com/anz-bank/sysl-go.git
Documentation: pkg.go.dev

# Functions

GetChiPathPattern will use the chi context to return the Route Pattern associated with the provided requests context.
No description provided by the author
NewHTTPServerMetricsMiddleware returns a new Prometheus Middleware handler.
NewStatusResponseWriter returns a ProxyResponseWriter which allows us to access the outgoing response status.

# Structs

Middleware is a handler which exposes prometheus metrics.
StatusResponseWriter implements the http.ResponseWriter interface and allows us access to the response status through the .Status() function.

# Interfaces

ProxyResponseWriter is a proxy for a http.ResponseWriter allowing you to access the various parts of the response at a later date.