forked from gitea/gitea
5fd9f72104
* When reading expired sessions - expire them Update to latest macaron/session following merge of https://gitea.com/macaron/session/pulls/11 Also remove old memory provider as 11 updates the memory provider to make it unnecessary. Signed-off-by: Andrew Thornton <art27@cantab.net> * and macaron/session/pulls/12 Signed-off-by: Andrew Thornton <art27@cantab.net> |
||
---|---|---|
.. | ||
couchbase | ||
memcache | ||
mysql | ||
nodb | ||
postgres | ||
redis | ||
.drone.yml | ||
.gitignore | ||
LICENSE | ||
README.md | ||
file.go | ||
flash.go | ||
go.mod | ||
go.sum | ||
memory.go | ||
session.go | ||
utils.go |
README.md
session
Middleware session provides session management for Macaron. It can use many session providers, including memory, file, Redis, Memcache, PostgreSQL, MySQL, Couchbase, Ledis and Nodb.
Installation
The minimum requirement of Go is 1.11 .
go get gitea.com/macaron/session
Getting Help
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.