forgejo/vendor/gitea.com/macaron/session
zeripath 5fd9f72104
When reading expired sessions - expire them (#12686)
* 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>
2020-09-02 17:10:35 -04:00
..
couchbase
memcache
mysql When reading expired sessions - expire them (#12686) 2020-09-02 17:10:35 -04:00
nodb
postgres When reading expired sessions - expire them (#12686) 2020-09-02 17:10:35 -04:00
redis
.drone.yml
.gitignore
file.go When reading expired sessions - expire them (#12686) 2020-09-02 17:10:35 -04:00
flash.go
go.mod
go.sum
LICENSE
memory.go When reading expired sessions - expire them (#12686) 2020-09-02 17:10:35 -04:00
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.