You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6543 b75a235201 Update go-redis to v8.4.0 (#18) 5 months ago
couchbase [Vendor] update & adapt new couchbase modul path (#15) 6 months ago
ledis Use github.com/unknwon/com (#9) 2 years ago
memcache update macaron (#8) 2 years ago
mysql When reading sessions that should be expired expire them (#11) 8 months ago
nodb update nodb to latest (#14) 7 months ago
postgres postgres expiry (#12) 8 months ago
redis Update go-redis to v8.4.0 (#18) 5 months ago
.drone.yml add drone (#3) 2 years ago
.gitignore Update github.com/go-redis/redis to v6.15.2 (#4) 2 years ago
LICENSE Initial commit 7 years ago
README.md update macaron (#8) 2 years ago
file.go When reading sessions that should be expired expire them (#11) 8 months ago
file_test.go upgrade with macaron 6 years ago
flash.go update macaron (#8) 2 years ago
flash_test.go update macaron (#8) 2 years ago
go.mod Update go-redis to v8.4.0 (#18) 5 months ago
go.sum Update go-redis to v8.4.0 (#18) 5 months ago
memory.go When reading sessions that should be expired expire them (#11) 8 months ago
memory_test.go upgrade with macaron 6 years ago
secret.go Add samesite cookie options (#16) 5 months ago
session.go Add samesite cookie options (#16) 5 months ago
session_test.go update macaron (#8) 2 years ago
utils.go Use github.com/unknwon/com (#9) 2 years ago

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.