gorilla/sessions
Package gorilla/sessions provides cookie and filesystem sessions and infrastructure for custom session backends. 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-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5083
- days_rel: n/a
- days_push: 743
- n_releases_24m: 0
Adoption not part of the score
3151 stars · 380 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
gorilla/sessions is a Go library providing cookie and filesystem session storage with infrastructure for custom session backends. It offers a simple API for signed and optionally encrypted cookies, flash messages, and multiple sessions per request.
Use cases
- manage user sessions in a go web app
- store session data in cookies or filesystem
- implement flash messages in go http handlers
- add remember-me functionality to a go web server
- create a custom session backend in golang
- rotate session authentication and encryption keys
When to choose
- you need session management in a Go net/http application
- you want signed or encrypted cookie-based sessions with a simple API
- you need pluggable session backends behind a common interface
- you want flash messages or multiple sessions per request
When to avoid
- you need distributed session storage out of the box (e.g. Redis) without writing a custom backend
- your project requires Go versions older than 1.23 for the latest release
- you use a web framework that already bundles session management
Facets
library · maturity stable
middleware auth http-server caching security web-development backend security developer-tools go cross-platform sessions cookies gorilla-web-toolkit flash-messages session-store net-http web-server
2 sources
- readme: https://github.com/gorilla/sessions · fetched 2026-08-28 · 58f9a31d6493
- homepage: https://gorilla.github.io · fetched 2026-08-29 · aa93940b2bb1
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| gorilla/sessions | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="gorilla/sessions")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem