package
11.1.0+incompatible
Repository: https://github.com/tr3ee/iris.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AddCookie adds a cookie.
GetCookie returns cookie's value by it's name returns empty string if nothing was found.
IsValidCookieDomain returns true if the receiver is a valid domain to set valid means that is recognised as 'domain' by the browser, so it(the cookie) can be shared with subdomains also.
New returns a new fast, feature-rich sessions manager it can be adapted to an iris station.
RemoveCookie deletes a cookie by it's name/key If "purge" is true then it removes the, temp, cookie from the request as well.

# Constants

DefaultCookieName the secret cookie's name for sessions.

# Variables

CookieExpireDelete may be set on Cookie.Expire for expiring the given cookie.
CookieExpireUnlimited indicates that the cookie doesn't expire.
DefaultTranscoder is the default transcoder across databases, it's the JSON by default.
ErrNotFound can be returned when calling `UpdateExpiration` on a non-existing or invalid session entry.
ErrNotImplemented is returned when a particular feature is not yet implemented yet.

# Structs

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 a sesion, based on a Context, which should return a compatible Session interface, 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.
Encoding is the Cookie Encoder/Decoder interface, which can be passed as configuration field alternatively to the `Encode` and `Decode` fields.
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.