session for go-chi
Go to file
2021-09-13 14:47:32 +08:00
couchbase remove macaron 2020-12-18 20:42:43 +08:00
ledis Fix test and lint 2020-12-18 21:30:10 +08:00
memcache Fix test and lint 2020-12-18 21:30:10 +08:00
mysql Fix test and lint 2020-12-18 21:30:10 +08:00
postgres Fix test and lint 2020-12-18 21:30:10 +08:00
redis Fix test and lint 2020-12-18 21:30:10 +08:00
.drone.yml Fix test and lint 2020-12-18 21:30:10 +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 When reading sessions that should be expired expire them (#11) 2020-09-02 20:07:03 +00:00
go.mod remove macaron 2020-12-18 20:42:43 +08:00
go.sum remove macaron 2020-12-18 20:42:43 +08: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 remove macaron 2020-12-18 20:42:43 +08:00
secret.go Add samesite cookie options (#16) 2020-11-12 12:27:16 +08:00
session_test.go Fix test 2020-12-18 21:48:09 +08:00
session.go as per lunny 2021-09-12 18:19:37 +01:00
utils.go Fix test and lint 2020-12-18 21:30:10 +08:00

Session

Middleware session provides session management which copied from 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.