MCPcopy
hub / github.com/XiaoMi/naftis / Executor

Interface Executor

src/api/executor/executor.go:33–35  ·  view source on GitHub ↗

Executor will dispatch and execute task from channel.

Source from the content-addressed store, hash-verified

31
32// Executor will dispatch and execute task from channel.
33type Executor interface {
34 Execute(Task) error
35}
36
37// Task is an alias of model.Task
38type Task = model.Task

Callers 4

mainFunction · 0.65
TestRequestRoutingFunction · 0.65
ExecTmplFunction · 0.65
StartFunction · 0.65

Implementers 1

istiocrdExecutorsrc/api/executor/istiocrd.go

Calls

no outgoing calls

Tested by

no test coverage detected