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

Method Close

rpc/pcaller.go:111–117  ·  view source on GitHub ↗

Close closes the stream and RPC client.

()

Source from the content-addressed store, hash-verified

109
110// Close closes the stream and RPC client.
111func (c *PersistentCaller) Close() {
112 c.Lock()
113 defer c.Unlock()
114 if c.client != nil {
115 _ = c.client.Close()
116 }
117}
118
119// Target returns the request target for logging purpose.
120func (c *PersistentCaller) Target() string {

Callers 2

TestNewPersistentCallerFunction · 0.95

Calls 1

CloseMethod · 0.65

Tested by 2

TestNewPersistentCallerFunction · 0.76