package
0.1.2
Repository: https://github.com/thatique/awan.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

AddFlash adds a flash message to the session.
Flashes returns a slice of flash messages from the session.
GenerateSessionID securely.
GetSession get data associated for this request.
Middleware provides session to the wrapped http handler.
NewServerSessionState construct a server session state.

# Constants

AllSessionIDsOfLoggedUser invalidate all sessions of logged in user except the current one.
CurrentSessionID tell the package to invalidate the current session, and then migrate the session data to new session.
DontForceInvalidate is default value for ForceInvalidate.
ForceInvalidateKey is the key used to set session invalidation mode.

# Variables

OpenCensusViews are predefined views for OpenCensus metrics.

# Structs

SaveSessionToken hold data when the session loaded, this needed in save operation.
ServerSessionState hold some state in order to work, this struct hold all info needed.

# Type aliases

ForceInvalidate describe how the session will be invalidated.