SetRetryConfig sets the retry configuration for the client.
(config *RetryConfig)
| 387 | |
| 388 | // SetRetryConfig sets the retry configuration for the client. |
| 389 | func (c *Client) SetRetryConfig(config *RetryConfig) *Client { |
| 390 | c.mu.Lock() |
| 391 | defer c.mu.Unlock() |
| 392 | |
| 393 | c.retryConfig = config |
| 394 | return c |
| 395 | } |
| 396 | |
| 397 | // BaseURL returns the client's base URL. |
| 398 | func (c *Client) BaseURL() string { |