Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateTaskRequest ¶
type CreateTaskRequest struct {
ID string `json:"id"`
}
type ErrorResponse ¶
type ErrorResponse struct {
Error string `json:"error"`
}
type HealthHandler ¶
type HealthHandler struct {
// contains filtered or unexported fields
}
func NewHealthHandler ¶
func NewHealthHandler(taskManager *service.TaskManager) *HealthHandler
func (*HealthHandler) Health ¶
func (h *HealthHandler) Health(w http.ResponseWriter, r *http.Request)
type HealthMetrics ¶
type HealthResponse ¶
type TaskHandler ¶
type TaskHandler struct {
// contains filtered or unexported fields
}
func NewTaskHandler ¶
func NewTaskHandler(taskManager *service.TaskManager) *TaskHandler
func (*TaskHandler) CreateTask ¶
func (h *TaskHandler) CreateTask(w http.ResponseWriter, r *http.Request)
func (*TaskHandler) DeleteTask ¶
func (h *TaskHandler) DeleteTask(w http.ResponseWriter, r *http.Request)
func (*TaskHandler) GetTask ¶
func (h *TaskHandler) GetTask(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.