Documentation ¶
Index ¶
- func CreateCart(c *fiber.Ctx) error
- func CreateCustomer(c *fiber.Ctx) error
- func CreateOrder(c *fiber.Ctx) error
- func CreateProduct(c *fiber.Ctx) error
- func DeleteCart(c *fiber.Ctx) error
- func DeleteProduct(c *fiber.Ctx) error
- func GetCart(c *fiber.Ctx) error
- func GetCustomer(c *fiber.Ctx) error
- func GetOrders(c *fiber.Ctx) error
- func GetProduct(c *fiber.Ctx) error
- func GetProducts(c *fiber.Ctx) error
- func GetUserByPhone(phone string) (*models.Customer, error)
- func Login(c *fiber.Ctx) error
- func Logout(c *fiber.Ctx) error
- func UpdateCart(c *fiber.Ctx) error
- func UpdateProduct(c *fiber.Ctx) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCart ¶
func CreateCart(c *fiber.Ctx) error
func CreateOrder ¶
func CreateOrder(c *fiber.Ctx) error
func DeleteCart ¶
func DeleteCart(c *fiber.Ctx) error
func GetCustomer ¶
func GetCustomer(c *fiber.Ctx) error
GetCustomer retrieves information of currently authorized user
func GetProducts ¶
func GetProducts(c *fiber.Ctx) error
GetProducts returns all products with pagination
func UpdateCart ¶
func UpdateCart(c *fiber.Ctx) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.