Golang authentication kit, provides cookie and infrastructure for session backends.
Main features:
- Built-in backends to store sessions: cookie, filesystem, Redis, MySQL, PostgreSQL, custom backends extensibility.
- Signed cookies: use it as an easy way to set signed (and optionally encrypted) cookies
- Flash messages: session values that last until read.
- Interfaces and infrastructure for custom session backends: sessions from different stores can be retrieved and batch-saved using a common API.
go get github.com/mrlsd/auth-kit
- Go 1.6+
- test:
make test
- fmt:
make fmt