Session middleware for go-chi
Find a file
Renovate Bot 5935c6d84b
All checks were successful
test / test (push) Successful in 48s
Update dependency go to v1.25.4 (#63)
Reviewed-on: #63
Reviewed-by: Gusted <gusted@noreply.code.forgejo.org>
Co-authored-by: Renovate Bot <bot@kriese.eu>
Co-committed-by: Renovate Bot <bot@kriese.eu>
2025-11-06 18:09:05 +00:00
.forgejo/workflows Update module golangci-lint to v2.6.1 (#62) 2025-11-06 18:08:39 +00:00
internal/test chore: update to golangci-lint v2 2025-05-23 18:22:47 +02:00
memcache Update module golangci-lint to v2.6.0 (#61) 2025-10-31 23:39:25 +00:00
mysql Update module golangci-lint to v2.6.0 (#61) 2025-10-31 23:39:25 +00:00
postgres Update module golangci-lint to v2.6.0 (#61) 2025-10-31 23:39:25 +00:00
redis Update module golangci-lint to v2.6.0 (#61) 2025-10-31 23:39:25 +00: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 Update module golangci-lint to v2.6.0 (#61) 2025-10-31 23:39:25 +00:00
file_test.go [CHORE] Simplify tests 2024-08-23 21:33:03 +02:00
go.mod Update dependency go to v1.25.4 (#63) 2025-11-06 18:09:05 +00:00
go.sum Update module github.com/redis/go-redis/v9 to v9.13.0 (#48) 2025-09-05 12:50:26 +00:00
LICENSE Initial commit 2014-07-15 19:57:55 -04:00
memory.go Update module golangci-lint to v2.6.0 (#61) 2025-10-31 23:39:25 +00: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 Update module golangci-lint to v2.6.0 (#61) 2025-10-31 23:39:25 +00:00
session_test.go chore: update to golangci-lint v2 2025-05-23 18:22:47 +02: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.