sesstools

package
v0.0.0-...-bce2eae Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddUser

func AddUser(c *fiber.Ctx, s *session.Store, user *dbtools.User) error

func GetUser

func GetUser(c *fiber.Ctx, s *session.Store) int64

Returns -1 if no user was found and the user id otherwise

func HasSess

func HasSess(c *fiber.Ctx, s *session.Store) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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