Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Model ¶
type Model struct {
// contains filtered or unexported fields
}
Model defines the schema, contains all the attributes need for retry
func Timeout ¶
Timeout is used to define the timeout duration for each iteration of retry it will run if the instance of model is not present before
func Times ¶
Times is used to define the retry count it will run if the instance of model is not present before
func Wait ¶
Wait is used to define the wait duration after each iteration of retry it will run if the instance of model is not present before
func (*Model) Timeout ¶
Timeout is used to define the timeout duration for each iteration of retry it will run if the instance of model is already present
func (*Model) Times ¶
Times is used to define the retry count it will run if the instance of model is already present
func (Model) TryWithTimeout ¶
TryWithTimeout is used to run a action with retries for each iteration of retry there will be some timeout