var serverIsOverloadedSet …
var maxResponseCode …
type BackoffManager …
type URLBackoff …
type NoBackoff …
func (n *NoBackoff) UpdateBackoff(actualUrl *url.URL, err error, responseCode int) { … }
func (n *NoBackoff) CalculateBackoff(actualUrl *url.URL) time.Duration { … }
func (n *NoBackoff) Sleep(d time.Duration) { … }
func (b *URLBackoff) Disable() { … }
func (b *URLBackoff) baseUrlKey(rawurl *url.URL) string { … }
func (b *URLBackoff) UpdateBackoff(actualUrl *url.URL, err error, responseCode int) { … }
func (b *URLBackoff) CalculateBackoff(actualUrl *url.URL) time.Duration { … }
func (b *URLBackoff) Sleep(d time.Duration) { … }