package
0.0.0-20250208085904-1b1a66c1158a
Repository: https://github.com/breadchris/share.git
Documentation: pkg.go.dev
# Functions
New returns a new session manager with the default options.
Deprecated: NewSession is a backwards-compatible alias for New.
# Constants
Destroyed indicates that the session data has been destroyed in the current request cycle.
Modified indicates that the session data has been changed in the current request cycle.
Unmodified indicates that the session data hasn't been changed in the current request cycle.
# Structs
GobCodec is used for encoding/decoding session data to and from a byte slice using the encoding/gob package.
SessionCookie contains the configuration settings for session cookies.
SessionManager holds the configuration settings for your sessions.
# Interfaces
Codec is the interface for encoding/decoding session data to and from a byte slice for use by the session store.
CtxStore is an interface for session stores which take a context.Context parameter.
IterableCtxStore is the interface for session stores which support iteration and which take a context.Context parameter.
IterableStore is the interface for session stores which support iteration.
Store is the interface for session stores.