Documentation
¶
Overview ¶
periodic is designed to poll for the data on a regular frequency until the timeout happens.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(interval, timeout int) *strategy
New provides an implementation of Retry that is designed to poll for the data on a regular frequency until the timeout happens. tickTime defines the interval in milliseconds for how often the URL should be queried. timeout defines the interval in seconds for how long the algorithm should query before giving up.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.