1
0
mirror of https://github.com/raseels-repos/golang-saas-starter-kit.git synced 2025-07-15 01:34:32 +02:00
This commit is contained in:
Lee Brown
2019-07-11 14:46:05 -08:00
parent 8eb9f6d976
commit df86310a8b
7 changed files with 205 additions and 211 deletions

View File

@ -5,8 +5,8 @@
package retry
import (
"context"
"time"
"context"
"time"
)
// queryPollIntervals is a slice of the delays before re-checking the status on
@ -38,7 +38,6 @@ var DefaultPollIntervals = []time.Duration{
time.Minute,
}
// delayer keeps track of the current delay between retries.
type delayer struct {
Delays []time.Duration