forked from macaron/session
Andrew Thornton
b8f62d7880
Add samesite cookie options Signed-off-by: Andrew Thornton <art27@cantab.net> Securely encrypt flash cookie to prevent javascript attack Signed-off-by: Andrew Thornton <art27@cantab.net> Reviewed-on: macaron/session#16 Reviewed-by: silverwind <silverwind@noreply.gitea.io> Reviewed-by: 6543 <6543@obermui.de> Co-Authored-By: Andrew Thornton <art27@cantab.net> Co-Committed-By: Andrew Thornton <art27@cantab.net> |
||
---|---|---|
couchbase | ||
ledis | ||
memcache | ||
mysql | ||
nodb | ||
postgres | ||
redis | ||
.drone.yml | ||
.gitignore | ||
file_test.go | ||
file.go | ||
flash_test.go | ||
flash.go | ||
go.mod | ||
go.sum | ||
LICENSE | ||
memory_test.go | ||
memory.go | ||
README.md | ||
secret.go | ||
session_test.go | ||
session.go | ||
utils.go |
session
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.11 .
go get gitea.com/macaron/session
Getting Help
Credits
This package is a modified version of go-macaron/session.
License
This project is under the Apache License, Version 2.0. See the LICENSE file for the full license text.