Documentation ¶
Index ¶
- func NewProjectHandler(g *echo.Group, middManager *middlewares.MiddlewareManager, ...)
- type ProjectHandler
- func (h *ProjectHandler) Create(c echo.Context) wrapper.Response
- func (h *ProjectHandler) Delete(c echo.Context) wrapper.Response
- func (h *ProjectHandler) Fetch(c echo.Context) wrapper.Response
- func (h *ProjectHandler) GetByID(c echo.Context) wrapper.Response
- func (h *ProjectHandler) Update(c echo.Context) wrapper.Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProjectHandler ¶
func NewProjectHandler(g *echo.Group, middManager *middlewares.MiddlewareManager, projectUsecase usecases.ProjectUsecase)
NewProjectHandler will initialize the project resources endpoint
Types ¶
type ProjectHandler ¶
type ProjectHandler struct {
ProjectUC usecases.ProjectUsecase
}
func (*ProjectHandler) Create ¶
func (h *ProjectHandler) Create(c echo.Context) wrapper.Response
Create will store the Project by given request body
func (*ProjectHandler) Delete ¶
func (h *ProjectHandler) Delete(c echo.Context) wrapper.Response
Delete will delete project by given param
func (*ProjectHandler) Fetch ¶
func (h *ProjectHandler) Fetch(c echo.Context) wrapper.Response
Fetch will fetch the Project
func (*ProjectHandler) GetByID ¶
func (h *ProjectHandler) GetByID(c echo.Context) wrapper.Response
GetByID will get Project by given id
func (*ProjectHandler) Update ¶
func (h *ProjectHandler) Update(c echo.Context) wrapper.Response
Update will get project by given request body
Click to show internal directories.
Click to hide internal directories.