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 6 年之前
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.