()
| 310 | } |
| 311 | |
| 312 | func (p *connPool) grabState() connPoolState { |
| 313 | state, _ := p.state.Load().(connPoolState) |
| 314 | return state |
| 315 | } |
| 316 | |
| 317 | func (p *connPool) setState(state connPoolState) { |
| 318 | p.state.Store(state) |
no outgoing calls
no test coverage detected