auth

package
v0.0.0-...-521d95a Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSendToken

func CreateSendToken(c *gin.Context, userID string) error

func GetUserFromRequest

func GetUserFromRequest(c *gin.Context) model.User

func HashPassword

func HashPassword(password []byte) (string, error)

func VerifyPassword

func VerifyPassword(hashed []byte, password []byte) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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