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
2 years ago
couchbase remove macaron 2 years ago
ledis Fix test and lint 2 years ago
memcache Fix test and lint 2 years ago
mysql Fix test and lint 2 years ago
postgres Fix test and lint 2 years ago
redis Fix test and lint 2 years ago
.drone.yml Fix test and lint 2 years ago
.gitignore Update github.com/go-redis/redis to v6.15.2 (#4) 3 years ago
LICENSE Initial commit 8 years ago
README.md remove macaron 2 years ago
file.go When reading sessions that should be expired expire them (#11) 2 years ago
file_test.go upgrade with macaron 7 years ago
go.mod remove macaron 2 years ago
go.sum remove macaron 2 years ago
memory.go Fix test and lint 2 years ago
memory_test.go upgrade with macaron 7 years ago
secret.go Add samesite cookie options (#16) 2 years ago
session.go make PrepareOptions public 2 years ago
session_test.go Fix test 2 years ago
utils.go Fix test and lint 2 years 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.