golang-github-gorilla-handlers-dev 1.1-1 (amd64 binary) in ubuntu yakkety
Package handlers is a collection of handlers (aka "HTTP middleware") for use
with Go's net/http package (or any framework supporting http.Handler),
including:
.
• LoggingHandler for logging HTTP requests in the Apache Common Log Format
(http://
• CombinedLogging
Format (http://
by both Apache and nginx.
• CompressHandler for gzipping responses.
• ContentTypeHandler for validating requests against a list of accepted
content types.
• MethodHandler for matching HTTP methods against handlers in a
map[
• ProxyHeaders for populating r.RemoteAddr and r.URL.Scheme based on the
X-Forwarded
when running a Go server behind a HTTP reverse proxy.
• CanonicalHost for re-directing to the preferred host when handling multiple
domains (i.e. multiple CNAME aliases).
.
Other handlers are documented on the Gorilla website
(http://
Details
- Package version:
- 1.1-1
- Status:
- Obsolete
- Component:
- universe
- Priority:
- Extra
Downloadable files
Package relationships
- Depends on: