Skip to content

swfrench/simple-session

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-session

Minimal storage-backed session management for small golang web apps.

Offers:

  • Creation and management of time-bound session objects with arbitrary data payloads.
  • Storage of session data to Redis (or any implementation of SessionStore).
  • Session-bound CSRF tokens, suitable for, e.g., embedding in hidden form fields.
  • Authenticated (HMAC-SHA256) end-user visible identifiers (i.e., SIDs and CSRF tokens).
  • Easily integrated with go-chi/chi.

Does not offer (at least at this time):

  • Session extension.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages