Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdminHandler ¶
type AuthHandler ¶
type AuthHandler interface { //userSide UserLogin(ctx *gin.Context) UserSignUp(ctx *gin.Context) UserSignUpVerify(ctx *gin.Context) UserGoogleAuthInitialize(ctx *gin.Context) UserGoogleAuthLoginPage(ctx *gin.Context) UserGoogleAuthCallBack(ctx *gin.Context) UserLoginOtpVerify(ctx *gin.Context) UserLoginOtpSend(ctx *gin.Context) UserRenewAccessToken() gin.HandlerFunc //admin side AdminLogin(ctx *gin.Context) AdminRenewAccessToken() gin.HandlerFunc }
type BrandHandler ¶
type CartHandler ¶
type CouponHandler ¶
type OfferHandler ¶
type OfferHandler interface { // offer SaveOffer(ctx *gin.Context) RemoveOffer(ctx *gin.Context) GetAllOffers(ctx *gin.Context) // category offer GetAllCategoryOffers(ctx *gin.Context) SaveCategoryOffer(ctx *gin.Context) RemoveCategoryOffer(ctx *gin.Context) ChangeCategoryOffer(ctx *gin.Context) // product offer GetAllProductsOffers(ctx *gin.Context) SaveProductOffer(ctx *gin.Context) RemoveProductOffer(ctx *gin.Context) ChangeProductOffer(ctx *gin.Context) }
type OrderHandler ¶
type OrderHandler interface { GetAllOrderStatuses(ctx *gin.Context) SaveOrder(ctx *gin.Context) // ApproveOrderCOD(ctx *gin.Context) CancelOrder(ctx *gin.Context) SubmitReturnRequest(ctx *gin.Context) GetAllOrderItemsUser() func(ctx *gin.Context) GetUserOrder(ctx *gin.Context) //admin side GetAllShopOrders(ctx *gin.Context) GetAllOrderItemsAdmin() func(ctx *gin.Context) UpdateOrderStatus(ctx *gin.Context) GetAllOrderReturns(ctx *gin.Context) GetAllPendingReturns(ctx *gin.Context) UpdateReturnRequest(ctx *gin.Context) // wallet GetUserWallet(ctx *gin.Context) GetUserWalletTransactions(ctx *gin.Context) }
type PaymentHandler ¶
type PaymentHandler interface { // payment CartOrderPaymentSelectPage(ctx *gin.Context) // AddPaymentMethod(ctx *gin.Context) UpdatePaymentMethod(ctx *gin.Context) GetAllPaymentMethodsAdmin() func(ctx *gin.Context) GetAllPaymentMethodsUser() func(ctx *gin.Context) PaymentCOD(ctx *gin.Context) RazorpayCheckout(ctx *gin.Context) RazorpayVerify(ctx *gin.Context) StripePaymentVeify(ctx *gin.Context) StripPaymentCheckout(ctx *gin.Context) }
type ProductHandler ¶
type ProductHandler interface { GetAllCategories(ctx *gin.Context) SaveCategory(ctx *gin.Context) SaveSubCategory(ctx *gin.Context) SaveVariation(ctx *gin.Context) SaveVariationOption(ctx *gin.Context) GetAllVariations(ctx *gin.Context) GetAllProductsAdmin() func(ctx *gin.Context) GetAllProductsUser() func(ctx *gin.Context) SaveProduct(ctx *gin.Context) UpdateProduct(ctx *gin.Context) SaveProductItem(ctx *gin.Context) GetAllProductItemsAdmin() func(ctx *gin.Context) GetAllProductItemsUser() func(ctx *gin.Context) }
type StockHandler ¶
type UserHandler ¶
Click to show internal directories.
Click to hide internal directories.