controller

package
v0.0.0-...-85695e2 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewBookHandler

func NewBookHandler(e *echo.Echo, se models.BookService)

Types

type BookHandler

type BookHandler struct {
	Bookservice models.BookService
}

func (*BookHandler) GetByID

func (a *BookHandler) GetByID(c echo.Context) error

func (*BookHandler) Store

func (a *BookHandler) Store(c echo.Context) (err error)

type ResponseError

type ResponseError struct {
	Message string `json:"message"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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