Versions in this module Expand all Collapse all v0 v0.1.0 Oct 22, 2025 v0.0.3 Oct 16, 2025 Changes in this version + func IsPermanentError(err error) bool + func IsTemporaryError(err error) bool + func Permanent(cause error) error + func Temporary(message string) error + func TemporaryFromResponse(message string, res *http.Response) error + type BackoffStrategy struct + Exponent float64 + InitialInterval int + MaxElapsedTime int + MaxInterval int + type Config struct + Backoff *BackoffStrategy + RetryConnectionErrors bool + Strategy string + type PermanentError struct + func (e *PermanentError) Error() string + func (e *PermanentError) Unwrap() error + type TemporaryError struct + func (e *TemporaryError) Error() string + func (e *TemporaryError) RetryAfter() time.Duration