Backoff is a functional option, used to define backoff policy, used in `NewClient` constructor
(bo Backoffer)
| 259 | // Backoff is a functional option, used to define backoff policy, used in |
| 260 | // `NewClient` constructor |
| 261 | func Backoff(bo Backoffer) ClientOpt { |
| 262 | return func(c *Client) { |
| 263 | c.bo = bo |
| 264 | } |
| 265 | } |
| 266 | |
| 267 | // ErrorsChan is a functional option, used to initialize error reporting channel |
| 268 | // in client code, maintaining control over buffer size. Default buffer size is |