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

Struct masterTaskHandle

app/distribute/master_api.go:20–22  ·  view source on GitHub ↗

masterTaskHandle assigns tasks to clients.

Source from the content-addressed store, hash-verified

18
19// masterTaskHandle assigns tasks to clients.
20type masterTaskHandle struct {
21 Distributor
22}
23
24func (mth *masterTaskHandle) Process(receive *teleport.NetData) *teleport.NetData {
25 b := result.Ret(json.Marshal(mth.Send(mth.CountNodes())))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected