forked from gitea/gitea
1
0
Fork 0
gitea/vendor/gitea.com/macaron/session
techknowlogick 0e9dcc9500
When reading expired sessions - expire them (#12686) (#12690)
* 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>

Co-authored-by: zeripath <art27@cantab.net>
2020-09-02 18:51:56 -04:00
..
couchbase
memcache
mysql When reading expired sessions - expire them (#12686) (#12690) 2020-09-02 18:51:56 -04:00
nodb
postgres When reading expired sessions - expire them (#12686) (#12690) 2020-09-02 18:51:56 -04:00
redis
.drone.yml
.gitignore
LICENSE
README.md
file.go When reading expired sessions - expire them (#12686) (#12690) 2020-09-02 18:51:56 -04:00
flash.go
go.mod
go.sum
memory.go When reading expired sessions - expire them (#12686) (#12690) 2020-09-02 18:51:56 -04:00
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.