IdleConns returns the number of currently idle conns in the pool.
()
| 51 | |
| 52 | // IdleConns returns the number of currently idle conns in the pool. |
| 53 | func (s *Stat) IdleConns() int32 { |
| 54 | return s.s.IdleResources() |
| 55 | } |
| 56 | |
| 57 | // MaxConns returns the maximum size of the pool. |
| 58 | func (s *Stat) MaxConns() int32 { |
no outgoing calls