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

Method ExtractRemote

component/service.go:135–164  ·  view source on GitHub ↗

ExtractRemote extract the set of methods from the receiver value which satisfy the following conditions: - exported method of exported type - two return values - the first return implements protobuf interface - the second return is an error

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

TestExtractRemoteFunction · 0.95
TestValidateMessageTypeFunction · 0.95
TestRemotesDocFunction · 0.95
TestRemotesDocTrueFunction · 0.95
RegisterMethod · 0.80

Calls 3

isExportedFunction · 0.85
suitableRemoteMethodsFunction · 0.85
StringMethod · 0.45

Tested by 4

TestExtractRemoteFunction · 0.76
TestValidateMessageTypeFunction · 0.76
TestRemotesDocFunction · 0.76
TestRemotesDocTrueFunction · 0.76