Gerenciamento de sessões para aplicações Go baseadas no roteador Chi.
Encontrar um arquivo
Arquivos do repositório (último commit primeiro)
Nome de arquivo Última mensagem de commit Última data de commit
2026-08-13 18:06:18 +00:00
.forgejo/workflows Update https://data.forgejo.org/golangci/golangci-lint-action action to v9.3.0 (#112) 2026-07-15 23:55:09 +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 chore: replace lib/pq with pgx (#99) 2026-04-03 15:00:31 +00: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 go toolchain directive to v1.25.13 (#120) 2026-08-13 18:06:18 +00:00
go.sum Update module github.com/go-chi/chi/v5 to v5.3.1 (#119) 2026-08-05 00:11:14 +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.