您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
李正强 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.