project

package
v0.0.0-...-4402e7d Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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

Jump to

Keyboard shortcuts

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