authentication

package
v0.0.0-...-198ac2f Latest Latest
Warning

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

Go to latest
Published: May 19, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoesUserExists

func DoesUserExists(username string) bool

func IsAdmin

func IsAdmin(ctx *gin.Context, session entities.Session) bool

func IsValidSession

func IsValidSession(session entities.Session) bool

func Login

func Login(ctx *gin.Context)

func Register

func Register(ctx *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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