handlers

package
v0.0.0-...-d83f0ff Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProjectHandler

type ProjectHandler struct {
	Repository *repository.ProjectRepository
}

func NewProjectHandler

func NewProjectHandler(repo *repository.ProjectRepository) *ProjectHandler

func (*ProjectHandler) CreateProject

func (handler *ProjectHandler) CreateProject(c *gin.Context)

func (*ProjectHandler) DeleteProject

func (handler *ProjectHandler) DeleteProject(c *gin.Context)

func (*ProjectHandler) GetProject

func (handler *ProjectHandler) GetProject(c *gin.Context)

type TaskHandler

type TaskHandler struct {
	// contains filtered or unexported fields
}

func NewTaskHandler

func NewTaskHandler(repo *repository.TaskRepository) *TaskHandler

func (*TaskHandler) CreateTask

func (th *TaskHandler) CreateTask(c *gin.Context)

func (*TaskHandler) GetTasksByID

func (th *TaskHandler) GetTasksByID(c *gin.Context)

func (*TaskHandler) GetTasksByProject

func (th *TaskHandler) GetTasksByProject(c *gin.Context)

Jump to

Keyboard shortcuts

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