Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 2.34 KB

README.md

File metadata and controls

32 lines (26 loc) · 2.34 KB

sessions

GoDoc License Build Status Coverage Status GoReportCard

This repository provides Go packages that supplement the popular Gorilla Sessions package.

Package sessionstore provides a session store implementation that persists session information using a simple storage interface. Secret keying material used for signing and encrypting secure cookies is stored using the same storage provider. The secret keying material is automatically generated and is rotated regularly.

Package codec provides the codec implementation used by the sessionstore package. It uses secret keying material for encrypting and authenticating secure cookies. The secret keying material is randomly generated, persisted to storage, and rotated regularly. This package can be used independently of the sessionstore package. For example, it can be used to provide the codec for the Gorilla CookieStore.

Package storage defines a simple interface for storage of both session information and secret keying material. There are sub-directories containing packages with implementations for the following: