handlers

package
v0.0.0-...-d377945 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

type Handlers struct {
	TaskService *service.TaskService
}

func NewHandlers

func NewHandlers(taskService *service.TaskService) *Handlers

func (*Handlers) HandleAddTask

func (h *Handlers) HandleAddTask(res http.ResponseWriter, req *http.Request)

func (*Handlers) HandleDeleteTask

func (h *Handlers) HandleDeleteTask(res http.ResponseWriter, req *http.Request)

func (*Handlers) HandleDoneTask

func (h *Handlers) HandleDoneTask(res http.ResponseWriter, req *http.Request)

func (*Handlers) HandleGetTask

func (h *Handlers) HandleGetTask(res http.ResponseWriter, req *http.Request)

func (*Handlers) HandleGetTasks

func (h *Handlers) HandleGetTasks(res http.ResponseWriter, req *http.Request)

func (*Handlers) HandleNextDate

func (h *Handlers) HandleNextDate(res http.ResponseWriter, req *http.Request)

func (*Handlers) HandlePutTask

func (h *Handlers) HandlePutTask(res http.ResponseWriter, req *http.Request)

func (*Handlers) HandleSignIn

func (h *Handlers) HandleSignIn(res http.ResponseWriter, req *http.Request)

Jump to

Keyboard shortcuts

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