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 BookController

type BookController interface {
	Route(*fiber.App)
	GetBook(ctx fiber.Ctx) error
	ListBooks(ctx fiber.Ctx) error
	CreateBook(ctx fiber.Ctx) error
	UpdateBook(ctx fiber.Ctx) error
	DeleteBook(ctx fiber.Ctx) error
}

func NewBookController

func NewBookController(validate *validator.Validate, service service.BookService) BookController

Jump to

Keyboard shortcuts

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