MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / NewRawCaller

Function NewRawCaller

rpc/mux/rawcaller.go:40–44  ·  view source on GitHub ↗

NewRawCaller creates the raw rpc caller to target node.

(targetAddr string)

Source from the content-addressed store, hash-verified

38
39// NewRawCaller creates the raw rpc caller to target node.
40func NewRawCaller(targetAddr string) *RawCaller {
41 return &RawCaller{
42 targetAddr: targetAddr,
43 }
44}
45
46func (c *RawCaller) isClientValid() bool {
47 c.RLock()

Callers 3

newConnFunction · 0.92
TestRawCallerFunction · 0.85
NewMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestRawCallerFunction · 0.68