61616ba864
Make the pacer package more flexible by extracting the pace calculation functions into a separate interface. This also allows to move features that require the fs package like logging and custom errors into the fs package. Also add a RetryAfterError sentinel error that can be used to signal a desired retry time to the Calculator. |
||
---|---|---|
.. | ||
pacer.go | ||
pacer_test.go | ||
pacers.go | ||
tokens.go | ||
tokens_test.go |