Skip to content

Commit

Permalink
add doc
Browse files Browse the repository at this point in the history
  • Loading branch information
danaelhe committed Aug 24, 2023
1 parent c6a0f68 commit 2589968
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions godo.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ func addOptions(s string, opt interface{}) (string, error) {
return origURL.String(), nil
}

// configureRetryableClient will create a retryableclient with default behavior
// if no godo client is passed. It will then convert the retryableclient to a *http.Client.
func configureRetryableClient(c *Client, httpClient *http.Client) *http.Client {
retryableClient := retryablehttp.NewClient()

Expand Down

0 comments on commit 2589968

Please sign in to comment.