controllers

package
v0.0.0-...-04b1328 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddToCart

func AddToCart(c *gin.Context)

func CreateCategory

func CreateCategory(c *gin.Context)

func CreateOrder

func CreateOrder(c *gin.Context)

func CreateProduct

func CreateProduct(c *gin.Context)

func CreateStripeCheckoutSession

func CreateStripeCheckoutSession(c *gin.Context)

func CreateUser

func CreateUser(c *gin.Context)

func DeleteCartItem

func DeleteCartItem(c *gin.Context)

func DeleteProduct

func DeleteProduct(c *gin.Context)

func GetAllInvoices

func GetAllInvoices(c *gin.Context)

func GetAllProducts

func GetAllProducts(c *gin.Context)

func GetCart

func GetCart(c *gin.Context)

func GetCategories

func GetCategories(c *gin.Context)

func GetOrderByID

func GetOrderByID(c *gin.Context)

func GetOrderStats

func GetOrderStats(c *gin.Context)

func GetProductByID

func GetProductByID(c *gin.Context)

func GetSalesMetrics

func GetSalesMetrics(c *gin.Context)

func GetUserOrder

func GetUserOrder(c *gin.Context)

func GetUserProfile

func GetUserProfile(c *gin.Context)

func Login

func Login(c *gin.Context)

func StripeWebhook

func StripeWebhook(c *gin.Context)

func UpdateProducts

func UpdateProducts(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