sessionservice

package
v0.0.0-...-6b2d211 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSessionForUser

func CreateSessionForUser(c *fiber.Ctx, user *database.User) (*database.Session, error)

func CreateUserAndSession

func CreateUserAndSession(c *fiber.Ctx, email, password string) (*database.User, *database.Session, error)

func GetSession

func GetSession(c *fiber.Ctx) (*database.Session, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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