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

Function isRemoteMethod

component/method.go:52–91  ·  view source on GitHub ↗

isRemoteMethod decide a method is suitable remote method 是rpc过程调用的方法类型 带参数或者不带参数 类型必须是proto.Message类型类型的指针 返回值必须是proto.Message类型指针和error

(method reflect.Method)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

suitableRemoteMethodsFunction · 0.85
TestIsRemoteMethodFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestIsRemoteMethodFunction · 0.68