Skip to content

mrLSD/auth-kit

Repository files navigation

Go Auth Kit

Build Status License GoDoc Coverage Status codecov

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.

How to install:

go get github.com/mrlsd/auth-kit

Requirements:

  • Go 1.6+

Some useful command:

  • test: make test
  • fmt: make fmt

####License: MIT License