Documentation ¶
Index ¶
Constants ¶
View Source
const ( StatusCodeRetryOther = http.StatusPermanentRedirect StatusCodeThrottle = http.StatusTooManyRequests )
Variables ¶
This section is empty.
Functions ¶
func DrainBody ¶
DrainBody reads then closes a response's body if it is non-nil. This function should be deferred before a response reference is discarded.
func IsUnavailableResponse ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.