Ross ROSS = Recommend OSS · open-source software intelligence for agents

gorilla/handlers

Package gorilla/handlers is a collection of useful middleware for Go HTTP services & web applications 🛃 observed · 2026-08-28

github.com/gorilla/handlers · homepage · Go · BSD-3-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4961
  • days_rel: n/a
  • days_push: 925
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1741 stars · 284 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

gorilla/handlers is a collection of HTTP middleware for Go's net/http package, part of the Gorilla web toolkit. It provides composable handlers for logging, gzip compression, content-type validation, method routing, proxy header handling, canonical host redirects, and panic recovery.

Use cases

  • log http requests in apache common or combined log format
  • gzip compress http responses in a go server
  • recover from panics in http handlers
  • handle x-forwarded-for headers behind a reverse proxy
  • restrict endpoints to specific http methods
  • validate request content types
  • redirect alternate domains to a canonical host

When to choose

  • you use net/http or any http.Handler-compatible Go framework and need standard middleware
  • you want small, composable, dependency-light middleware utilities
  • you need battle-tested request logging or compression middleware

When to avoid

  • you need a full web framework with routing, sessions, and templating built in
  • you want structured JSON logging rather than Apache-style log formats
  • your framework already ships equivalent middleware

Facets

library · maturity stable

middleware logging http-server web-framework web-development backend developer-tools go windows cross-platform http-middleware gorilla-toolkit net-http gzip-compression request-logging panic-recovery reverse-proxy linux macos

2 sources

Member repositories

RepositoryRoleHealth v2
gorilla/handlersmain23

For agents

markdown · JSON · MCP: product_card(name="gorilla/handlers")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem