package
1.24.0-dev
Repository: https://github.com/go-gitea/gitea.git
Documentation: pkg.go.dev

# Functions

NewDBStore creates and returns a DB session store.
NewRedisStore creates and returns a redis session store.
NewVirtualStore creates and returns a virtual session store.
RegenerateSession regenerates the underlying session and returns the new store.

# Variables

BeforeRegenerateSession is a list of functions that are called before a session is regenerated.

# Structs

DBProvider represents a DB session provider implementation.
DBStore represents a session store implementation based on the DB.
RedisProvider represents a redis session provider implementation.
RedisStore represents a redis session store implementation.
VirtualSessionProvider represents a shadowed session provider implementation.
VirtualStore represents a virtual session store implementation.

# Interfaces

Store represents a session store.