session for go-chi
Go to file
Lunny Xiao 0cb48c5ba8
make PrepareOptions public
2021-01-08 11:03:37 +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
LICENSE Initial commit 2014-07-15 19:57:55 -04:00
README.md remove macaron 2020-12-18 20:42:43 +08:00
file.go When reading sessions that should be expired expire them (#11) 2020-09-02 20:07:03 +00:00
file_test.go upgrade with macaron 2015-10-13 23:24:40 -04: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
memory.go Fix test and lint 2020-12-18 21:30:10 +08:00
memory_test.go upgrade with macaron 2015-10-13 23:24:40 -04:00
secret.go Add samesite cookie options (#16) 2020-11-12 12:27:16 +08:00
session.go make PrepareOptions public 2021-01-08 11:03:37 +08:00
session_test.go Fix test 2020-12-18 21:48:09 +08: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.