Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ErrGetProjectServiceNotInitialized represents an error when the GetProjectService is not initialized ErrGetProjectServiceNotInitialized = "get project service not initialized" // ErrProjectIDNotProvided represents an error when the task id is not provided ErrProjectIDNotProvided = "project id not provided" // ErrGettingProject represents an error executing the method getting project ErrGettingProject = "error getting project" // ErrGettingProjectList represents an error executing the method getting project list ErrGettingProjectList = "error getting project list" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetProjecListtHandler ¶
type GetProjecListtHandler struct {
// contains filtered or unexported fields
}
GetProjecListtHandler struct to handle get project requests
func NewGetProjecListtHandler ¶
func NewGetProjecListtHandler(s service.GetProjectServicer, logger repository.Logger) *GetProjecListtHandler
NewGetProjecListtHandler creates a new GetProjecListtHandler
func (*GetProjecListtHandler) Handle ¶
func (h *GetProjecListtHandler) Handle(c echo.Context) error
Handle method to get a task
type GetProjectHandler ¶
type GetProjectHandler struct {
// contains filtered or unexported fields
}
GetProjectHandler struct to handle requests to get a project details
func NewGetProjectHandler ¶
func NewGetProjectHandler(s service.GetProjectServicer, logger repository.Logger) *GetProjectHandler
NewGetProjectHandler creates a new GetProjectHandler
func (*GetProjectHandler) Handle ¶
func (h *GetProjectHandler) Handle(c echo.Context) error
Handle method to get a project details
Click to show internal directories.
Click to hide internal directories.