(addr string)
| 512 | } |
| 513 | |
| 514 | func (p *sharedBackendConnPool) Retain(addr string) *sharedBackendConn { |
| 515 | if bc := p.pool[addr]; bc != nil { |
| 516 | return bc.Retain() |
| 517 | } else { |
| 518 | bc = newSharedBackendConn(addr, p) |
| 519 | p.pool[addr] = bc |
| 520 | return bc |
| 521 | } |
| 522 | } |
nothing calls this directly
no test coverage detected