/express-session-go

Go middleware to get/parse sessions populated from express & express-session

Primary LanguageGo

express-session-go

Functions and HTTP middleware to check validity and retrieve session information that was populated from express-session.

Why

If you use express-session in a NodeJS/express app to store session data, it's fine and dandy if all your APIs and services live in the same express app with all requests flowing through the express-session middleware. With this package, you can also build APIs and services in go and implement a similar HTTP middleware to retrieve and use session info as is being used in your express app.

Usage

See /examples folder

Stores

TODO

  • Create example session store retrieval of session that can be used as sessionParser replacement

Special Thanks

Special thanks to Chris Tomich and his blog post for helping get started on this project.