utils

package
v0.0.0-...-924408c Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckUserPass

func CheckUserPass(username, password string) (*models.User, error)

Returns user if found or error if not

func EmptyUserPass

func EmptyUserPass(username, password string) bool

func FlashMessage

func FlashMessage(c *gin.Context, message string)

func Flashes

func Flashes(c *gin.Context) []interface{}

Types

This section is empty.

Jump to

Keyboard shortcuts

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