handler

package
v0.0.0-...-0c11fba Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidQueryParam = errors.New("invalid query parameter")
View Source
var ErrInvalidRequestData = errors.New("invalid request data")

Functions

func HealthCheckHandler

func HealthCheckHandler(c *gin.Context)

GetHealthcheck godoc @summary Healthcheck @tags healthcheck @id GetHealthcheck @Success 200 @router / [get]

func NewFacultyHandler

func NewFacultyHandler(facultyService service.FacultyService) facultyHandler

func NewFormHandler

func NewFormHandler(menuService service.MenuService, restaurantService service.RestaurantService, formService service.FormService) formHandler

func NewMenuHandler

func NewMenuHandler(menuService service.MenuService) menuHandler

func NewRatioHandler

func NewRatioHandler(ratioService service.RatioService) ratioHandler

func NewRestaurantHandler

func NewRestaurantHandler(restaurantService service.RestaurantService) restaurantHandler

Types

This section is empty.

Jump to

Keyboard shortcuts

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