IgnoreAuthErrorAbort opts out of the default connect behavior of aborting subsequent reconnect attempts if server returns the same auth error twice.
()
| 1581 | // IgnoreAuthErrorAbort opts out of the default connect behavior of aborting |
| 1582 | // subsequent reconnect attempts if server returns the same auth error twice. |
| 1583 | func IgnoreAuthErrorAbort() Option { |
| 1584 | return func(o *Options) error { |
| 1585 | o.IgnoreAuthErrorAbort = true |
| 1586 | return nil |
| 1587 | } |
| 1588 | } |
| 1589 | |
| 1590 | // SkipHostLookup is an Option to skip the host lookup when connecting to a server. |
| 1591 | func SkipHostLookup() Option { |
no outgoing calls