package
0.1.82
Repository: https://github.com/techmaster/core.git
Documentation: pkg.go.dev

# README

This is copied from https://github.com/kataras/iris/tree/master/sessions I don't change any thing from original code but may be in the near future.

Thanks Kataras, the author of this package

# Packages

No description provided by the author

# Functions

Get returns a *Session from the same request life cycle, can be used inside a chain of handlers of a route.
New returns a new fast, feature-rich sessions manager it can be adapted to an iris station.

# Constants

DefaultCookieName the secret cookie's name for sessions.

# Variables

DefaultTranscoder is the default transcoder across databases (when `UseDatabase` is used).
ErrNotFound may be returned from `UpdateExpiration` of a non-existing or invalid session entry from memory storage or databases.
ErrNotImplemented is returned when a particular feature is not yet implemented yet.

# Structs

No description provided by the author
ErrEntryNotFound similar to core/memstore#ErrEntryNotFound but adds the value (if found) matched to the requested key-value pair of the session's memory storage.
No description provided by the author
LifeTime controls the session expiration datetime.
No description provided by the author
A Sessions manager should be responsible to Start/Get a sesion, based on a Context, which returns a *Session, type.

# Interfaces

Database is the interface which all session databases should implement By design it doesn't support any type of cookie session like other frameworks.
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

DestroyListener is the form of a destroy listener.