Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BWbwchen/MapReduce
/ setID
Method
setID
worker/worker.go:257–259 ·
view source on GitHub ↗
(id int)
Source
from the content-addressed store, hash-verified
255
}
256
257
func
(wr *Worker) setID(id int) {
258
wr.ID = id
259
}
260
261
func
(wr *Worker) Health(ctx context.Context, in *rpc.Empty) (*rpc.WorkerState, error) {
262
log.Trace(
"[Worker] Health Check"
)
Callers
1
StartWorker
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected