package
Version:
v0.0.0-...-c938c57
Opens a new window with list of versions in this module.
Published: Feb 7, 2020
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Manager manages sessions.
NewManager creates a new session manager.
Load fetches or creates the session from the request context.
Refresh erases the current session and starts a blank one.
A session should always exist, so it is replace instead of
just being destroyed.
Session contains identifying information about the user.
Get fetches session data.
Set modifies session data.
Store interface represents a two layer hash map.
NewStore creates a new session store backed by a redis client.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.