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.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
6543 b75a235201 Update go-redis to v8.4.0 (#18) 1 year ago
couchbase [Vendor] update & adapt new couchbase modul path (#15) 1 year 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) 1 year ago
nodb update nodb to latest (#14) 1 year ago
postgres postgres expiry (#12) 1 year ago
redis Update go-redis to v8.4.0 (#18) 1 year 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) 1 year 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) 1 year ago
go.sum Update go-redis to v8.4.0 (#18) 1 year ago
memory.go When reading sessions that should be expired expire them (#11) 1 year ago
memory_test.go upgrade with macaron 6 years ago
secret.go Add samesite cookie options (#16) 1 year ago
session.go Add samesite cookie options (#16) 1 year 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.