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

Struct ClientPool

rpc/pool.go:147–149  ·  view source on GitHub ↗

ClientPool is the struct type of connection pool.

Source from the content-addressed store, hash-verified

145
146// ClientPool is the struct type of connection pool.
147type ClientPool struct {
148 nodeFreeLists sync.Map // proto.NodeID -> freelist
149}
150
151func (p *ClientPool) loadFreeList(id proto.NodeID) (list *freelist, ok bool) {
152 var v interface{}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected