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
Click to show internal directories.
Click to hide internal directories.