Documentation
¶
Overview ¶
Package midhttp contains common types used in the downstream implementations of the middleware for net/http handlers.
Index ¶
Constants ¶
View Source
const RequestIdHeader = "X-Request-Id"
Variables ¶
This section is empty.
Functions ¶
func NewResponseWriter ¶
func NewResponseWriter(w http.ResponseWriter) *autometricsResponseWriter
NewResponseWriter creates a new ResponseWriter that keeps track of the status code of the query for reporting purposes.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.