modulepackage
0.0.0-20210806035223-91592c9e1e0b
Repository: https://github.com/groob/finalizer.git
Documentation: pkg.go.dev
# README
Finalizer is a Go package that implements an HTTP Middleware with a callback that gets called at the end of every request. Typically used to implement HTTP logging.
The code in this package has been adapted from the Go-Kit http server code.
# Packages
No description provided by the author
# Functions
Header returns the HTTP Response headers from a ServerFinalizerFunc context.
Middleware calls the ServerFinalizerFunc at the end of an HTTP Request.
ResponseSize returns the written response size from a ServerFinalizerFunc context.
# Type aliases
ServerFinalizerFunc is a function executed at the end of an HTTP request.