| 1 |
Source: golang-github-gorilla-handlers |
| 2 |
Section: golang |
| 3 |
Priority: optional |
| 4 |
Maintainer: Debian Go Packaging Team <[email protected]> |
| 5 |
Uploaders: Tim Potter <[email protected]>, |
| 6 |
Anthony Fok <[email protected]> |
| 7 |
Rules-Requires-Root: no |
| 8 |
Build-Depends: debhelper-compat (= 13), |
| 9 |
dh-sequence-golang, |
| 10 |
golang-any (>= 2:1.20~), |
| 11 |
golang-github-felixge-httpsnoop-dev (>= 1.0.3), |
| 12 |
tzdata |
| 13 |
Testsuite: autopkgtest-pkg-go |
| 14 |
Standards-Version: 4.6.2 |
| 15 |
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-gorilla-handlers |
| 16 |
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-gorilla-handlers.git |
| 17 |
Homepage: https://github.com/gorilla/handlers |
| 18 |
XS-Go-Import-Path: github.com/gorilla/handlers |
| 19 |
|
| 20 |
Package: golang-github-gorilla-handlers-dev |
| 21 |
Architecture: all |
| 22 |
Multi-Arch: foreign |
| 23 |
Depends: ${misc:Depends}, |
| 24 |
golang-github-felixge-httpsnoop-dev (>= 1.0.3), |
| 25 |
Description: collection of useful handlers for Go's net/http package |
| 26 |
Package handlers is a collection of handlers (aka "HTTP middleware") for use |
| 27 |
with Go's net/http package (or any framework supporting http.Handler), |
| 28 |
including: |
| 29 |
. |
| 30 |
• LoggingHandler for logging HTTP requests in the Apache Common Log Format |
| 31 |
(http://httpd.apache.org/docs/2.2/logs.html#common). |
| 32 |
• CombinedLoggingHandler for logging HTTP requests in the Apache Combined Log |
| 33 |
Format (http://httpd.apache.org/docs/2.2/logs.html#combined) commonly used |
| 34 |
by both Apache and nginx. |
| 35 |
• CompressHandler for gzipping responses. |
| 36 |
• ContentTypeHandler for validating requests against a list of accepted |
| 37 |
content types. |
| 38 |
• MethodHandler for matching HTTP methods against handlers in a |
| 39 |
map[string]http.Handler |
| 40 |
• ProxyHeaders for populating r.RemoteAddr and r.URL.Scheme based on the |
| 41 |
X-Forwarded-For, X-Real-IP, X-Forwarded-Proto and RFC7239 Forwarded headers |
| 42 |
when running a Go server behind a HTTP reverse proxy. |
| 43 |
• CanonicalHost for re-directing to the preferred host when handling multiple |
| 44 |
domains (i.e. multiple CNAME aliases). |
| 45 |
. |
| 46 |
Other handlers are documented on the Gorilla website |
| 47 |
(http://www.gorillatoolkit.org/pkg/handlers). |