Documentation ¶
Index ¶
- type Handler
- func (h Handler) CreateTask(w http.ResponseWriter, r *http.Request)
- func (h Handler) DeleteTask(w http.ResponseWriter, r *http.Request)
- func (h Handler) GetTaskByID(w http.ResponseWriter, r *http.Request)
- func (h Handler) ListTasks(w http.ResponseWriter, r *http.Request)
- func (h Handler) UpdateTask(w http.ResponseWriter, r *http.Request)
- type ListTaskResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (Handler) CreateTask ¶
func (h Handler) CreateTask(w http.ResponseWriter, r *http.Request)
func (Handler) DeleteTask ¶
func (h Handler) DeleteTask(w http.ResponseWriter, r *http.Request)
func (Handler) GetTaskByID ¶
func (h Handler) GetTaskByID(w http.ResponseWriter, r *http.Request)
func (Handler) UpdateTask ¶
func (h Handler) UpdateTask(w http.ResponseWriter, r *http.Request)
type ListTaskResponse ¶
type ListTaskResponse struct {
Tasks postgresutils.Page[task.Task] `json:"tasks"`
}
Click to show internal directories.
Click to hide internal directories.