Versions in this module Expand all Collapse all v0 v0.1.0 Apr 5, 2023 v0.0.1 Apr 21, 2023 Changes in this version + func GetAndRewindHttpResponseBody(resp *http.Response) ([]byte, stackerr.Error) + func GetRetryhttpLeveledLogger(loggerConfigFunc func(log.NewInput) log.NewInput) retryablehttp.LeveledLogger + func NewRoundTripper(input *NewClientInput) http.RoundTripper + type NewClientInput struct + Backoff func(min, max time.Duration, attemptNum int, resp *http.Response) time.Duration + CacheMaxAgeSeconds int64 + CacheMaxSizeBytes int64 + CheckRetry func(ctx context.Context, resp *http.Response, httpErr error) (bool, error) + Logger hashicorphttp.LeveledLogger + MaxRetries int + RetryWaitMax time.Duration + RetryWaitMin time.Duration + RoundTripper http.RoundTripper