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

Struct PersistentCaller

rpc/pcaller.go:33–39  ·  view source on GitHub ↗

PersistentCaller is a wrapper for session pooling and RPC calling.

Source from the content-addressed store, hash-verified

31
32// PersistentCaller is a wrapper for session pooling and RPC calling.
33type PersistentCaller struct {
34 pool NOClientPool
35 client Client
36 //TargetAddr string
37 TargetID proto.NodeID
38 sync.Mutex
39}
40
41// NewPersistentCallerWithPool returns a persistent RPCCaller.
42// IMPORTANT: If a PersistentCaller is firstly used by a DHT.Ping, which is an anonymous

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected