options.go
func BackOffDelay(n uint, config *Config) time.Duration {
	return config.delay * (1 << (n - 1))
}
func BackOffDelay(n uint, config *Config) time.Duration {
	return config.delay * (1 << (n - 1))
}
// BackOffDelay is a DelayType which increases delay between consecutive retries