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: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewUnitHandler

func NewUnitHandler(e *echo.Group, r *echo.Group, us domain.UnitUsecase)

NewUnitHandler will initialize the contents/ resources endpoint

Types

type UnitHandler

type UnitHandler struct {
	UUsecase domain.UnitUsecase
}

UnitHandler ...

func (*UnitHandler) FetchUnits

func (h *UnitHandler) FetchUnits(c echo.Context) error

FetchUnits will fetch the content based on given params

func (*UnitHandler) GetByID

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

GetByID will get units by given id

Jump to

Keyboard shortcuts

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