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

Function NewMasterClient

rpc/master_grpc.pb.go:30–32  ·  view source on GitHub ↗
(cc grpc.ClientConnInterface)

Source from the content-addressed store, hash-verified

28}
29
30func NewMasterClient(cc grpc.ClientConnInterface) MasterClient {
31 return &masterClient{cc}
32}
33
34func (c *masterClient) WorkerRegister(ctx context.Context, in *WorkerInfo, opts ...grpc.CallOption) (*RegisterResult, error) {
35 out := new(RegisterResult)

Callers 2

WorkerRegisterFunction · 0.92
UpdateIMDInfoFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected