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
Click to show internal directories.
Click to hide internal directories.