Documentation ¶
Overview ¶
Package taskgrp provides handlers for inspecting tasks
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetTaskResponse ¶
type GetTaskResponse struct {
Data taskcommon.State `json:"data"`
}
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (*Handler) Get ¶
GetTask godoc
@Summary Inspect task state by ID @Description Inspect task state by ID @Tags Task @Accept json @Produce json @Param id path string true "Task ID" @Security Bearer @Success 200 {object} GetTaskResponse @Router /task/{id} [get] @Security Bearer @Failure 400 @Failure 404
Click to show internal directories.
Click to hide internal directories.