1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-18 08:04:25 +00:00
gitea/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 Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
memcache Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
mysql When reading expired sessions - expire them (#12686) 2020-09-02 17:10:35 -04:00
nodb Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
postgres When reading expired sessions - expire them (#12686) 2020-09-02 17:10:35 -04:00
redis Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
.drone.yml Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
.gitignore Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
file.go When reading expired sessions - expire them (#12686) 2020-09-02 17:10:35 -04:00
flash.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
go.mod update: macaron cores,gzip,session (#10522) 2020-02-28 10:51:18 +01:00
go.sum update: macaron cores,gzip,session (#10522) 2020-02-28 10:51:18 +01:00
LICENSE Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
memory.go When reading expired sessions - expire them (#12686) 2020-09-02 17:10:35 -04:00
README.md Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
session.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
utils.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00

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.