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