Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CancelOnInterrupt ¶
CancelOnInterrupt creates a context and calls the context cancel function when an interrupt signal is caught
func IsMaxRetries ¶
IsMaxRetries checks whether the error is due to hitting the maximum number of retries or not.
Types ¶
Click to show internal directories.
Click to hide internal directories.