session for go-chi
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lunny Xiao 0cb48c5ba8
make PrepareOptions public
3 months ago
couchbase remove macaron 4 months ago
ledis Fix test and lint 4 months ago
memcache Fix test and lint 4 months ago
mysql Fix test and lint 4 months ago
postgres Fix test and lint 4 months ago
redis Fix test and lint 4 months ago
.drone.yml Fix test and lint 4 months ago
.gitignore Update github.com/go-redis/redis to v6.15.2 (#4) 2 years ago
LICENSE Initial commit 7 years ago
README.md remove macaron 4 months ago
file.go When reading sessions that should be expired expire them (#11) 8 months ago
file_test.go upgrade with macaron 6 years ago
go.mod remove macaron 4 months ago
go.sum remove macaron 4 months ago
memory.go Fix test and lint 4 months ago
memory_test.go upgrade with macaron 6 years ago
secret.go Add samesite cookie options (#16) 5 months ago
session.go make PrepareOptions public 3 months ago
session_test.go Fix test 4 months ago
utils.go Fix test and lint 4 months ago

README.md

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.