mirror of
https://github.com/SigNoz/signoz.git
synced 2026-06-09 02:20:26 +01:00
* fix: extended error fields * fix: remove stale comment * fix: removed retry policy enum and added example * fix: generate openapi * fix: stale comments
17 lines
220 B
Go
17 lines
220 B
Go
package errors
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type retry struct {
|
|
delay time.Duration
|
|
}
|
|
|
|
// newRetryAfter builds a retry value carrying the given delay.
|
|
func newRetryAfter(d time.Duration) retry {
|
|
return retry{
|
|
delay: d,
|
|
}
|
|
}
|