session

package
v0.0.0-...-412827d Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Logger *zap.Logger

Functions

func GetUserSessions

func GetUserSessions(userID int) ([]authstruct.Session, error)

func InitSessionService

func InitSessionService()

func RemoveSession

func RemoveSession(userID int, tokenString string) error

func StoreSession

func StoreSession(userID int, sessionData *authstruct.Session) error

func ValidateSession

func ValidateSession(sessionID string, userID int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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