Documentation ¶
Index ¶
- func AlwaysTry(err error) bool
- func GetTryCount(ctx context.Context) int64
- func SetTryCount(ctx context.Context, trycount int64) context.Context
- func Stopped() error
- func WithAbsorbError(absorb bool) runtime.Configuration[*Retry]
- func WithAttempts(attempts uint) runtime.Configuration[*Retry]
- func WithDelay(delay time.Duration) runtime.Configuration[*Retry]
- func WithMaxDelay(delay time.Duration) runtime.Configuration[*Retry]
- func WithRetryOption(options ...retry.Option) runtime.Configuration[*Retry]
- type Retry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTryCount ¶
func WithAbsorbError ¶ added in v0.0.14
func WithAbsorbError(absorb bool) runtime.Configuration[*Retry]
func WithAttempts ¶ added in v0.0.14
func WithAttempts(attempts uint) runtime.Configuration[*Retry]
func WithMaxDelay ¶ added in v0.0.14
func WithMaxDelay(delay time.Duration) runtime.Configuration[*Retry]
func WithRetryOption ¶
func WithRetryOption(options ...retry.Option) runtime.Configuration[*Retry]
configurations
Types ¶
Click to show internal directories.
Click to hide internal directories.