PoolHook returns the pool hook for re-authentication. This hook should be registered with the connection pool to enable automatic re-authentication when credentials change.
()
| 57 | // This hook should be registered with the connection pool to enable |
| 58 | // automatic re-authentication when credentials change. |
| 59 | func (m *Manager) PoolHook() pool.PoolHook { |
| 60 | return m.poolHookRef |
| 61 | } |
| 62 | |
| 63 | // Listener returns or creates a credentials listener for a connection. |
| 64 | // |