Options returns read-only *RingOptions that were used to create the client. Any alteration of the returned *RingOptions may result in undefined behaviour.
()
| 645 | // Options returns read-only *RingOptions that were used to create the client. |
| 646 | // Any alteration of the returned *RingOptions may result in undefined behaviour. |
| 647 | func (c *Ring) Options() *RingOptions { |
| 648 | return c.opt |
| 649 | } |
| 650 | |
| 651 | func (c *Ring) retryBackoff(attempt int) time.Duration { |
| 652 | return internal.RetryBackoff(attempt, c.opt.MinRetryBackoff, c.opt.MaxRetryBackoff) |
no outgoing calls