periodic

package
v0.1.47 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL