Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotFound is returned when a process is not found. ErrNotFound = errors.New("task not found") // ErrAlreadyStarted is returned when a process is already started. ErrAlreadyStarted = errors.New("task already started") )
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager manages tasks.
func NewManager ¶
NewManager returns a new task manager.
Click to show internal directories.
Click to hide internal directories.