controllers

package
v0.0.0-...-2304697 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCategory

func CreateCategory(c *fiber.Ctx) error

func CreateImagesForProduct

func CreateImagesForProduct(c *fiber.Ctx) error

func CreateProduct

func CreateProduct(c *fiber.Ctx) error

func CreateReviewsForProduct

func CreateReviewsForProduct(c *fiber.Ctx) error

func DeleteCategoryById

func DeleteCategoryById(c *fiber.Ctx) error

func DeleteImagesForProduct

func DeleteImagesForProduct(c *fiber.Ctx) error

func DeleteProductById

func DeleteProductById(c *fiber.Ctx) error

func DeleteReviewForProduct

func DeleteReviewForProduct(c *fiber.Ctx) error

func GetAllCategory

func GetAllCategory(c *fiber.Ctx) error

func GetAllProduct

func GetAllProduct(c *fiber.Ctx) error

func GetCategoryById

func GetCategoryById(c *fiber.Ctx) error

func GetImagesByProductId

func GetImagesByProductId(c *fiber.Ctx) error

func GetProductById

func GetProductById(c *fiber.Ctx) error

func GetRatingByProductId

func GetRatingByProductId(productId uint) float32

func GetReviewsByProductId

func GetReviewsByProductId(c *fiber.Ctx) error

func Register

func Register(c *fiber.Ctx) error

func UpdateCategory

func UpdateCategory(c *fiber.Ctx) error

func UpdateProduct

func UpdateProduct(c *fiber.Ctx) error

func UpdateReview

func UpdateReview(c *fiber.Ctx) error

func UpsertCategory

func UpsertCategory(c *fiber.Ctx) error

func UpsertProduct

func UpsertProduct(c *fiber.Ctx) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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