mirror of
https://github.com/go-gitea/gitea
synced 2024-11-02 08:14:25 +00:00
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 | ||
file.go | ||
flash.go | ||
go.mod | ||
go.sum | ||
LICENSE | ||
memory.go | ||
README.md | ||
session.go | ||
utils.go |
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.