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) 9 달 전
couchbase session: skip encoding if the data is empty when release (gogs/gogs#5540) 11 달 전
ledis session: skip encoding if the data is empty when release (gogs/gogs#5540) 11 달 전
memcache session: skip encoding if the data is empty when release (gogs/gogs#5540) 11 달 전
mysql session: skip encoding if the data is empty when release (gogs/gogs#5540) 11 달 전
nodb session: skip encoding if the data is empty when release (gogs/gogs#5540) 11 달 전
postgres session: skip encoding if the data is empty when release (gogs/gogs#5540) 11 달 전
redis Update redis.go (#27) 9 달 전
.gitignore nodb: add nodb support 4 년 전
.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) 11 달 전
file_test.go upgrade with macaron 4 년 전
flash.go flash: move to its own file 11 달 전
flash_test.go flash: move to its own file 11 달 전
memory.go data race 4 년 전
memory_test.go upgrade with macaron 4 년 전
session.go flash: move to its own file 11 달 전
session_test.go flash: move to its own file 11 달 전
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.