handler

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Router *gin.Engine
}

func NewHandler

func NewHandler(router *gin.Engine) *Handler

func (*Handler) SetupRoutesForCart

func (h *Handler) SetupRoutesForCart(firebaseApp validation.IFirebaseApp, cartRequests cart.IRequests, userRequests users.IRequests)

func (*Handler) SetupRoutesForImages

func (h *Handler) SetupRoutesForImages(firebaseApp validation.IFirebaseApp, manufacturerRequests manufacturer.IItemRequests, itemRequests items.IRequests, userRequests users.IRequests, Crud images.R2Conns)

func (*Handler) SetupRoutesForItem

func (h *Handler) SetupRoutesForItem(itemRequests items.IRequests)

func (*Handler) SetupRoutesForManufacturer

func (h *Handler) SetupRoutesForManufacturer(firebaseApp validation.IFirebaseApp, manufacturerRequests manufacturer.IItemRequests, userRequests users.IRequests)

func (*Handler) SetupRoutesForStripe

func (h *Handler) SetupRoutesForStripe(firebaseApp validation.IFirebaseApp, UserRequests users.Requests, stripeRequests stripe1.IRequests, transactionRequests transaction.IRequests)

func (*Handler) SetupRoutesForUser

func (h *Handler) SetupRoutesForUser(firebaseApp validation.IFirebaseApp, UserRequests users.IRequests)

func (*Handler) SetupRoutesForWebhook

func (h *Handler) SetupRoutesForWebhook(webhookRequests transaction.IWebhook, app validation.IFirebaseApp)

Jump to

Keyboard shortcuts

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