Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConstantRetryIntervalTask ¶
type ConstantRetryIntervalTask struct {
// contains filtered or unexported fields
}
func WithConstantRetries ¶
func WithConstantRetries(maxRetries uint, waitInterval time.Duration, payload func() error) *ConstantRetryIntervalTask
func (*ConstantRetryIntervalTask) Do ¶
func (s *ConstantRetryIntervalTask) Do(_ uint) error
func (*ConstantRetryIntervalTask) Interval ¶
func (s *ConstantRetryIntervalTask) Interval(_ uint) time.Duration
func (*ConstantRetryIntervalTask) MaxRetries ¶
func (s *ConstantRetryIntervalTask) MaxRetries() uint
Click to show internal directories.
Click to hide internal directories.