controllers

package
v0.0.0-...-b4e36c1 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPasswordHash

func CheckPasswordHash(password, hash string) bool

CheckPasswordHash compare password with hash

func CreateUser

func CreateUser(c *fiber.Ctx) error

CreateUser new user

func DeleteUser

func DeleteUser(c *fiber.Ctx) error

DeleteUser delete user

func GetUser

func GetUser(c *fiber.Ctx) error

GetUser get a user

func Login

func Login(c *fiber.Ctx) error

Login get user and password

func Register

func Register(ctx *fiber.Ctx)

Register user register here

func UpdateUser

func UpdateUser(c *fiber.Ctx) error

UpdateUser update user

Types

This section is empty.

Jump to

Keyboard shortcuts

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