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.
李正强 0a0a789bf1 Update redis.go (#27) 8 months ago
couchbase session: skip encoding if the data is empty when release (gogs/gogs#5540) 10 months ago
ledis session: skip encoding if the data is empty when release (gogs/gogs#5540) 10 months ago
memcache session: skip encoding if the data is empty when release (gogs/gogs#5540) 10 months ago
mysql session: skip encoding if the data is empty when release (gogs/gogs#5540) 10 months ago
nodb session: skip encoding if the data is empty when release (gogs/gogs#5540) 10 months ago
postgres session: skip encoding if the data is empty when release (gogs/gogs#5540) 10 months ago
redis Update redis.go (#27) 8 months ago
.gitignore nodb: add nodb support 4 years ago
.travis.yml ci: adjust Go version 1 year ago
LICENSE Initial commit 5 years ago
README.md ci: adjust Go version 1 year ago
file.go session: skip encoding if the data is empty when release (gogs/gogs#5540) 10 months ago
file_test.go upgrade with macaron 4 years ago
flash.go flash: move to its own file 10 months ago
flash_test.go flash: move to its own file 10 months ago
memory.go data race 4 years ago
memory_test.go upgrade with macaron 4 years ago
session.go flash: move to its own file 10 months ago
session_test.go flash: move to its own file 10 months ago
utils.go utils: make local copy of alphanum just to be stable (#24) 11 months ago

README.md

session Build Status

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.6 (1.7 if using Redis, 1.8 if using MySQL).

go get github.com/go-macaron/session

Getting Help

Credits

This package is a modified version of beego/session.

License

This project is under the Apache License, Version 2.0. See the LICENSE file for the full license text.