MCPcopy
hub / github.com/gofiber/fiber / SetRetryConfig

Method SetRetryConfig

client/client.go:389–395  ·  view source on GitHub ↗

SetRetryConfig sets the retry configuration for the client.

(config *RetryConfig)

Source from the content-addressed store, hash-verified

387
388// SetRetryConfig sets the retry configuration for the client.
389func (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.
398func (c *Client) BaseURL() string {

Callers 5

Test_Exec_FuncFunction · 0.80

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65

Tested by 5

Test_Exec_FuncFunction · 0.64