Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Conn ¶
Conn returns nil if the connection is in the ready state. If wait is set, this will wait for the connection to become ready or until the context is cancelled.
This is useful over `WithBlock` when connecting because it allows a fail-fast first attempt to connect. This makes it easily to synchronously attempt connection once before falling back to a retry loop in the background.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.