func WithMaxRetries(maxRetries int) ConfigOption {
	return func(cfg *Config) {
		cfg.MaxRetries = maxRetries
	}
}
// WithMaxRetries - Maximum number of retries before giving up.
Maximum number of retries before giving up.
// WithMaxRetries - Maximum number of retries before giving up .
func WithMaxRetries(maxRetries int) ConfigOption {
	return func(cfg *Config) {
		cfg.MaxRetries = maxRetries
	}
}
func WithMaxRetries ( maxRetries int ) ConfigOption { return func ( cfg * Config ) { cfg . MaxRetries = maxRetries } }
Maximum number of retries before giving up.
Maximum number of retries before giving up .