handlers

package
v0.0.0-...-9d373ea Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangePassword

func ChangePassword(c *fiber.Ctx) error

func CreateProduct

func CreateProduct(c *fiber.Ctx) error

func CreateUser

func CreateUser(c *fiber.Ctx) error

func DeleteProduct

func DeleteProduct(c *fiber.Ctx) error

func DeleteUser

func DeleteUser(c *fiber.Ctx) error

func GetProductById

func GetProductById(c *fiber.Ctx) error

func GetProducts

func GetProducts(c *fiber.Ctx) error

func GetUserInfo

func GetUserInfo(c *fiber.Ctx) error

func Login

func Login(c *fiber.Ctx) error

func Logout

func Logout(c *fiber.Ctx) error

func SessionExpires

func SessionExpires() time.Time

Universal date the Session Will Expire

func UpdateProduct

func UpdateProduct(c *fiber.Ctx) error

Types

type Product

type Product model.Product

type Session

type Session model.Session

type User

type User model.User

func GetUser

func GetUser(sessionid guuid.UUID) (User, error)

Jump to

Keyboard shortcuts

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