session for go-chi
Go to file
Lunny Xiao 16768d98ec
All checks were successful
test / check and test (push) Successful in 10m9s
Update CI (#8)
Reviewed-on: #8
2024-03-16 03:58:57 +00:00
.gitea/workflows Update CI (#8) 2024-03-16 03:58:57 +00:00
couchbase remove macaron 2020-12-18 20:42:43 +08:00
ledis Upgrade chi to v5 2021-10-13 10:13:59 +08:00
memcache Upgrade chi to v5 2021-10-13 10:13:59 +08:00
mysql Upgrade chi to v5 2021-10-13 10:13:59 +08:00
postgres Upgrade chi to v5 2021-10-13 10:13:59 +08:00
redis Upgrade chi to v5 2021-10-13 10:13:59 +08:00
.gitignore Update github.com/go-redis/redis to v6.15.2 (#4) 2019-08-01 01:31:18 +00:00
file_test.go upgrade with macaron 2015-10-13 23:24:40 -04:00
file.go Prevent panics due to EOF in gob.Decode (#5) 2022-12-20 08:55:50 +08:00
go.mod Update CI (#8) 2024-03-16 03:58:57 +00:00
go.sum Update CI (#8) 2024-03-16 03:58:57 +00:00
LICENSE Initial commit 2014-07-15 19:57:55 -04:00
memory_test.go upgrade with macaron 2015-10-13 23:24:40 -04:00
memory.go Fix test and lint 2020-12-18 21:30:10 +08:00
README.md Correct README links (#2) 2021-09-14 00:02:04 +08:00
secret.go Add samesite cookie options (#16) 2020-11-12 12:27:16 +08:00
session_test.go Provide function to regenerate RawStore within session (#4) 2021-12-19 06:16:15 +08:00
session.go Fix session destroy not clearing cookie (#6) 2023-06-13 03:59:28 +00:00
utils.go Fix test and lint 2020-12-18 21:30:10 +08:00

Session

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

Installation

go get gitea.com/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.