MCPcopy Create free account
hub / github.com/bytemode/pitaya-notes / RPC

Method RPC

worker/rpc_job.go:41–41  ·  view source on GitHub ↗

RPC executes the RPC It is expected that if serverID is "" the RPC happens to any destiny server

(
		ctx context.Context,
		serverID, routeStr string,
		reply, arg proto.Message,
	)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

doSendRPCFunction · 0.65
TestParsedRPCJobFunction · 0.65
parsedRPCJobMethod · 0.65

Implementers 3

MockRPCJobworker/mocks/rpc_job.go
MockRPCJobMockRecorderworker/mocks/rpc_job.go
RPCJobexamples/demo/worker/services/worker.g

Calls

no outgoing calls

Tested by 1

TestParsedRPCJobFunction · 0.52