http

package
v0.0.0-...-29610b7 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAwardHandler

func NewAwardHandler(e *echo.Group, us domain.AwardUsecase)

NewAwardHandler will initialize the contents/ resources endpoint

Types

type AwardHandler

type AwardHandler struct {
	UUsecase domain.AwardUsecase
}

AwardHandler ...

func (*AwardHandler) FetchAwards

func (h *AwardHandler) FetchAwards(c echo.Context) error

FetchAwards will fetch the content based on given params

func (*AwardHandler) FetchCategories

func (h *AwardHandler) FetchCategories(c echo.Context) error

FetchCategories will fetch the aggregation category

func (*AwardHandler) GetByID

func (h *AwardHandler) GetByID(c echo.Context) error

GetByID will get awards by given id

Jump to

Keyboard shortcuts

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