Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrAlreadyStartedOrNotFound = errors.New("task already started or not found") ErrNotStartedOrNotFound = errors.New("task not started or not found") )
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func (*Handler) PostTasksIdStart ¶
PostTasksIdStart handles "POST /tasks/{id}/start".
func (*Handler) PostTasksIdStop ¶
PostTasksIdStop handles "POST /tasks/{id}/stop".
type ServiceImpl ¶
type ServiceImpl struct {
// contains filtered or unexported fields
}
func NewServiceImpl ¶
func NewServiceImpl(db database.DB) *ServiceImpl
Click to show internal directories.
Click to hide internal directories.