handler

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BookHandler

type BookHandler struct {
	DB *gorm.DB
}

func NewBookHandler

func NewBookHandler(database *gorm.DB) BookHandler

func (BookHandler) CreateBookHandler

func (handler BookHandler) CreateBookHandler(c *fiber.Ctx) error

func (BookHandler) DeleteBookHandler

func (handler BookHandler) DeleteBookHandler(c *fiber.Ctx) error

func (BookHandler) GetAllBooksHandler

func (handler BookHandler) GetAllBooksHandler(c *fiber.Ctx) error

func (BookHandler) GetOneBooksHandler

func (handler BookHandler) GetOneBooksHandler(c *fiber.Ctx) error

func (BookHandler) UpdateBookHandler

func (handler BookHandler) UpdateBookHandler(c *fiber.Ctx) error

Jump to

Keyboard shortcuts

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