sessionmanager

package
v0.0.0-...-254d885 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SessionManager

type SessionManager struct {
	// contains filtered or unexported fields
}

SessionManager takes care of the opened sessions of the app.

func New

func New(db *sql.DB) *SessionManager

New creates a new session manager. It expects a sqlite database as argument to manage the sessions.

func (*SessionManager) Close

func (sm *SessionManager) Close() error

func (*SessionManager) Echo

func (sm *SessionManager) Echo() echo.MiddlewareFunc

func (*SessionManager) SessionManager

func (sm *SessionManager) SessionManager() *scs.SessionManager

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL