No description
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Renovate Bot 93d0ffccad Update module github.com/lib/pq to v1.12.1 (#95)
Reviewed-on: https://code.forgejo.org/go-chi/session/pulls/95
Reviewed-by: Gusted <gusted@noreply.code.forgejo.org>
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2026-03-31 22:13:07 +00:00
.forgejo/workflows Update dependency golangci/golangci-lint to v2.11.4 (#97) 2026-03-31 22:12:59 +00:00
internal/test chore: update to golangci-lint v2 2025-05-23 18:22:47 +02:00
memcache Add Empty() receiver function to RawStore interface 2026-02-14 12:46:19 +01:00
mysql Add Empty() receiver function to RawStore interface 2026-02-14 12:46:19 +01:00
postgres Add Empty() receiver function to RawStore interface 2026-02-14 12:46:19 +01:00
redis Add Empty() receiver function to RawStore interface 2026-02-14 12:46:19 +01:00
.gitignore [CHORE] Cleanup goconvey files 2024-08-23 21:33:03 +02:00
.golangci.yaml Update module golangci-lint to v2.6.0 (#61) 2025-10-31 23:39:25 +00:00
file.go Add Empty() receiver function to RawStore interface 2026-02-14 12:46:19 +01:00
file_test.go [CHORE] Simplify tests 2024-08-23 21:33:03 +02:00
go.mod Update module github.com/lib/pq to v1.12.1 (#95) 2026-03-31 22:13:07 +00:00
go.sum Update module github.com/lib/pq to v1.12.1 (#95) 2026-03-31 22:13:07 +00:00
LICENSE Initial commit 2014-07-15 19:57:55 -04:00
memory.go Add Empty() receiver function to RawStore interface 2026-02-14 12:46:19 +01:00
memory_test.go [CHORE] Simplify tests 2024-08-23 21:33:03 +02:00
README.md [FEAT] Use simpler config parsing for redis 2024-08-23 21:33:03 +02:00
renovate.json chore(renovate): use shared org preset 2024-11-07 15:29:47 +01:00
session.go Add DeferSetCookie option to not send Set-Cookie for empty sessions 2026-02-14 12:53:43 +01:00
session_test.go Add DeferSetCookie option to not send Set-Cookie for empty sessions 2026-02-14 12:53:43 +01:00
utils.go Update module golangci-lint to v2.6.0 (#61) 2025-10-31 23:39:25 +00:00

Session

Middleware session provides session management which based on a fork of a fork of Macaron Session for go-chi. It can use many session providers, including memory, file, Redis, Memcache, PostgreSQL and MySQL.

Installation

go get code.forgejo.org/go-chi/session

Credits

This package is a modified version of go-macaron/session.

License

This project is under the Apache License, Version 2.0. See the LICENSE file for the full license text.