MCPcopy
hub / github.com/andeya/pholcus / slaveTaskHandle

Struct slaveTaskHandle

app/distribute/slave_api.go:19–21  ·  view source on GitHub ↗

slaveTaskHandle receives tasks from the master and adds them to the task jar.

Source from the content-addressed store, hash-verified

17
18// slaveTaskHandle receives tasks from the master and adds them to the task jar.
19type slaveTaskHandle struct {
20 Distributor
21}
22
23func (sth *slaveTaskHandle) Process(receive *teleport.NetData) *teleport.NetData {
24 t := &Task{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected