controllers

package
v0.0.0-...-3cdfc1b Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareHashPassword

func CompareHashPassword(password, hash string) bool

func CreateBook

func CreateBook(c *gin.Context)

func GenerateHashPassword

func GenerateHashPassword(password string) (string, error)

func GetAllBooks

func GetAllBooks(c *gin.Context)

func GetBook

func GetBook(c *gin.Context)

func Login

func Login(c *gin.Context)

func ParseToken

func ParseToken(tokenString string) (claims *models.Claims, err error)

func Signup

func Signup(c *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