http-handlers: github.com/codahale/http-handlers Index | Files | Directories

package httphandlers

import "github.com/codahale/http-handlers"

Package httphandlers has a number of subpackages which provide HTTP handlers which are useful in an operational context.

Index

Package Files

doc.go

Directories

PathSynopsis
authentication
debugPackage debug provides a handler which adds additional debug endpoints, including profiling and expvars.
loggingPackage logging provides a fast, asynchronous request logger which outputs NCSA/Apache combined logs.
metricsPackage metrics provides an HTTP handler which registers counters for the number of requests received and responses sent as well as quantiles of the latency of responses.
recoveryPackage recovery provides an HTTP handler which recovers panics in an underlying handler, logs debug information about the panic, and returns a 500 Internal Server Error to the client.
servicePackage service combines the other various packages in http-handlers to provide an operations-friendly http.Handler for your application.

Updated 2018-04-08. Refresh now. Tools for package owners.