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) преди 1 година
couchbase session: skip encoding if the data is empty when release (gogs/gogs#5540) преди 1 година
ledis session: skip encoding if the data is empty when release (gogs/gogs#5540) преди 1 година
memcache session: skip encoding if the data is empty when release (gogs/gogs#5540) преди 1 година
mysql session: skip encoding if the data is empty when release (gogs/gogs#5540) преди 1 година
nodb session: skip encoding if the data is empty when release (gogs/gogs#5540) преди 1 година
postgres session: skip encoding if the data is empty when release (gogs/gogs#5540) преди 1 година
redis Update redis.go (#27) преди 1 година
.gitignore nodb: add nodb support преди 5 години
.travis.yml ci: adjust Go version преди 1 година
LICENSE Initial commit преди 5 години
README.md ci: adjust Go version преди 1 година
file.go session: skip encoding if the data is empty when release (gogs/gogs#5540) преди 1 година
file_test.go upgrade with macaron преди 4 години
flash.go flash: move to its own file преди 1 година
flash_test.go flash: move to its own file преди 1 година
memory.go data race преди 4 години
memory_test.go upgrade with macaron преди 4 години
session.go flash: move to its own file преди 1 година
session_test.go flash: move to its own file преди 1 година
utils.go utils: make local copy of alphanum just to be stable (#24) преди 1 година

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.