MCPcopy Create free account
hub / github.com/devfeel/dottask / Task

Interface Task

tasks.go:17–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16type (
17 Task interface {
18 TaskID() string
19 GetConfig() *TaskConfig
20 Start()
21 Stop()
22 SetTimeout(int64)
23 RunOnce() error
24 SetTaskService(service *TaskService)
25 Reset(conf *TaskConfig) error
26 CounterInfo() *CounterInfo
27 }
28
29 ExceptionHandleFunc func(*TaskContext, error)
30

Callers 34

TaskOutputHttpHandlerMethod · 0.65
doLoopTaskFunction · 0.65
AddTaskMethod · 0.65
GetAllTaskCountInfoMethod · 0.65
StopAllTaskMethod · 0.65
StartAllTaskMethod · 0.65
defaultLogCounterInfoMethod · 0.65
TaskOutputHttpHandlerMethod · 0.65
AddTaskMethod · 0.65
mainFunction · 0.65
mainFunction · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected