controllers

package
v0.0.0-...-bbec25a Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProductsController

func NewProductsController() *products

func NewShopController

func NewShopController() *shop

func NewShopOwnerController

func NewShopOwnerController() *owner

Types

type Products

type Products interface {
	ReadProducts(c *fiber.Ctx) error
	AdminReadProducts(c *fiber.Ctx) error
	CreateProduct(c *fiber.Ctx) error
	ReadProduct(c *fiber.Ctx) error
	AdminReadProduct(c *fiber.Ctx) error
	UpdateProduct(c *fiber.Ctx) error
	DeleteProduct(c *fiber.Ctx) error
	SearchProducts(c *fiber.Ctx) error
	AdminSearchProducts(c *fiber.Ctx) error
	FilterProducts(c *fiber.Ctx) error
	AdminFilterProducts(c *fiber.Ctx) error
}

type Shop

type Shop interface {
	CreateShop(c *fiber.Ctx) error
	DeleteShop(c *fiber.Ctx) error
	UpdateShop(c *fiber.Ctx) error
}

type ShopOwner

type ShopOwner interface {
	CreateOwner(c *fiber.Ctx) error
	AuthenticateShopOwner(c *fiber.Ctx) error
	UpdateOwner(c *fiber.Ctx) error
	DeleteOwner(c *fiber.Ctx) error
	RefreshToken(c *fiber.Ctx) error
}

Jump to

Keyboard shortcuts

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