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

Method Call

cluster/grpc_rpc_client.go:97–156  ·  view source on GitHub ↗

Call 查找连接到server的 grpc client 然后构建protos.Request参数进行 rpc call调用返回 protos.Response

(
	ctx context.Context, //上下文
	rpcType protos.RPCType, //rpc类型
	route *route.Route, //路由信息
	session *session.Session, //session
	msg *message.Message, //消息
	server *Server, //服务器
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 9

ExtractSpanFunction · 0.92
StartSpanFunction · 0.92
FinishSpanFunction · 0.92
ReportTimingFromCtxFunction · 0.92
buildRequestFunction · 0.85
WarnfMethod · 0.80
callMethod · 0.80
ErrorMethod · 0.65
StringMethod · 0.45

Tested by

no test coverage detected