middle

package
v0.0.0-...-eaeab00 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: CC0-1.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComparePasswords

func ComparePasswords(hashedPassword, password string) error

ComparePasswords compares the provided password with the hashed password

func GetSigningMethod

func GetSigningMethod() jwt.SigningMethod

GetSigningMethod returns the JWT signing method

func HashPassword

func HashPassword(password string) (string, error)

HashPassword hashes the password using bcrypt

func LogMiddleware

func LogMiddleware() echo.MiddlewareFunc

LogMiddleware logs the incoming requests

Types

This section is empty.

Jump to

Keyboard shortcuts

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