gin-contrib/sessions
Gin middleware for session management observed · 2026-08-28
Health v2 · maintenance only
82/100
- Activity 97
- Release rhythm 53
- 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: 101
- age_days: 3584
- days_rel: 158
- days_push: 18
- n_releases_24m: 4
Adoption not part of the score
1569 stars · 203 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Gin middleware package for session management in Go web applications, supporting multiple backends including cookie-based, Redis, memcached, MongoDB, GORM, memstore, PostgreSQL, and filesystem stores. It provides a simple API for single and multiple named sessions per request.
Use cases
- manage user sessions in a gin web app
- store session data in redis for a go server
- cookie-based sessions for gin api
- multiple named sessions per request in gin
- persist sessions to postgres or mongodb
- login state management for go web application
When to choose
- you use the Gin framework and need session handling
- you want pluggable session backends (redis, cookie, database, filesystem)
- you need multiple independent sessions per request
When to avoid
- you use a framework other than Gin
- you need distributed session locking or advanced session features
- you build non-HTTP Go applications
Facets
library · maturity stable
middleware auth web-framework web-development backend developer-tools go cross-platform gin session-management session-store cookie-store redis memcached mongodb gorm postgresql filesystem web-server
1 source
- readme: https://github.com/gin-contrib/sessions · fetched 2026-08-28 · bb43b22d6417
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| gin-contrib/sessions | main | 82 |
For agents
markdown · JSON · MCP: product_card(name="gin-contrib/sessions")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem