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

Method Map

rpc/worker_grpc.pb.go:21–21  ·  view source on GitHub ↗
(ctx context.Context, in *MapInfo, opts ...grpc.CallOption)

Source from the content-addressed store, hash-verified

19// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
20type WorkerClient interface {
21 Map(ctx context.Context, in *MapInfo, opts ...grpc.CallOption) (*Result, error)
22 Reduce(ctx context.Context, in *ReduceInfo, opts ...grpc.CallOption) (*Result, error)
23 // IMD = InterMeDiate
24 GetIMDData(ctx context.Context, in *IMDLoc, opts ...grpc.CallOption) (*JSONKVs, error)

Callers 2

MapFunction · 0.95
_Worker_Map_HandlerFunction · 0.65

Implementers 3

Workerworker/worker.go
workerClientrpc/worker_grpc.pb.go
UnimplementedWorkerServerrpc/worker_grpc.pb.go

Calls

no outgoing calls

Tested by

no test coverage detected