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

Method remoteProcess

service/remote.go:91–120  ·  view source on GitHub ↗

all remote method 所有远程方法调用的反射信息 处理rpc调用根据消息类型进行回复,此处可以是client发送给后端服务器的消息 前端服务器进行的一个转发 转发使用rpc调用

(
	ctx context.Context,
	server *cluster.Server,
	a *agent.Agent,
	route *route.Route,
	msg *message.Message,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

DispatchMethod · 0.80

Calls 7

remoteCallMethod · 0.95
FinishSpanFunction · 0.92
ErrorfMethod · 0.80
AnswerWithErrorMethod · 0.80
ErrorMethod · 0.65
ResponseMIDMethod · 0.65
GetMsgMethod · 0.45

Tested by 1