Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
李正强 0a0a789bf1 Update redis.go (#27) 1 år sedan
couchbase session: skip encoding if the data is empty when release (gogs/gogs#5540) 1 år sedan
ledis session: skip encoding if the data is empty when release (gogs/gogs#5540) 1 år sedan
memcache session: skip encoding if the data is empty when release (gogs/gogs#5540) 1 år sedan
mysql session: skip encoding if the data is empty when release (gogs/gogs#5540) 1 år sedan
nodb session: skip encoding if the data is empty when release (gogs/gogs#5540) 1 år sedan
postgres session: skip encoding if the data is empty when release (gogs/gogs#5540) 1 år sedan
redis Update redis.go (#27) 1 år sedan
.gitignore nodb: add nodb support 5 år sedan
.travis.yml ci: adjust Go version 1 år sedan
LICENSE Initial commit 5 år sedan
README.md ci: adjust Go version 1 år sedan
file.go session: skip encoding if the data is empty when release (gogs/gogs#5540) 1 år sedan
file_test.go upgrade with macaron 4 år sedan
flash.go flash: move to its own file 1 år sedan
flash_test.go flash: move to its own file 1 år sedan
memory.go data race 4 år sedan
memory_test.go upgrade with macaron 4 år sedan
session.go flash: move to its own file 1 år sedan
session_test.go flash: move to its own file 1 år sedan
utils.go utils: make local copy of alphanum just to be stable (#24) 1 år sedan

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.