MCPcopy Create free account
hub / github.com/BWbwchen/MapReduce / RegisterWorkerServer

Function RegisterWorkerServer

rpc/worker_grpc.pb.go:125–127  ·  view source on GitHub ↗
(s grpc.ServiceRegistrar, srv WorkerServer)

Source from the content-addressed store, hash-verified

123}
124
125func RegisterWorkerServer(s grpc.ServiceRegistrar, srv WorkerServer) {
126 s.RegisterService(&Worker_ServiceDesc, srv)
127}
128
129func _Worker_Map_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
130 in := new(MapInfo)

Callers 1

StartWorkerFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected