controller

package
v0.0.0-...-d2cdecb Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CategoryController

type CategoryController interface {
	Route(*fiber.App)
	GetCategory(ctx fiber.Ctx) error
	ListCategories(ctx fiber.Ctx) error
	CreateCategory(ctx fiber.Ctx) error
	UpdateCategory(ctx fiber.Ctx) error
	DeleteCategory(ctx fiber.Ctx) error
}

func NewCategoryController

func NewCategoryController(validate *validator.Validate, service service.CategoryService) CategoryController

Jump to

Keyboard shortcuts

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