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

Method Get

rpc/xxx_test.go:82–84  ·  view source on GitHub ↗

mocks the pool interface with a direct dialer

(id proto.NodeID)

Source from the content-addressed store, hash-verified

80type nilPool struct{} // mocks the pool interface with a direct dialer
81
82func (p *nilPool) Get(id proto.NodeID) (Client, error) {
83 return p.GetEx(id, false)
84}
85
86func (p *nilPool) GetEx(id proto.NodeID, isAnonymous bool) (Client, error) {
87 conn, err := Dial(id)

Callers

nothing calls this directly

Calls 1

GetExMethod · 0.95

Tested by

no test coverage detected