Documentation ¶
Index ¶
- type Handlers
- func (h *Handlers) HandleAddTask(res http.ResponseWriter, req *http.Request)
- func (h *Handlers) HandleDeleteTask(res http.ResponseWriter, req *http.Request)
- func (h *Handlers) HandleDoneTask(res http.ResponseWriter, req *http.Request)
- func (h *Handlers) HandleGetTask(res http.ResponseWriter, req *http.Request)
- func (h *Handlers) HandleGetTasks(res http.ResponseWriter, req *http.Request)
- func (h *Handlers) HandleNextDate(res http.ResponseWriter, req *http.Request)
- func (h *Handlers) HandlePutTask(res http.ResponseWriter, req *http.Request)
- func (h *Handlers) HandleSignIn(res http.ResponseWriter, req *http.Request)
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)
Click to show internal directories.
Click to hide internal directories.