package
1.3.3
Repository: https://github.com/veeainc/utils.go.git
Documentation: pkg.go.dev

# README

retryables

import "github.com/veeainc/utils.go/retryables"

Some utilities to make a function retryable.

Example

if ret, err := retry.Retry(3, 800 * time.Millisecond, func() (i interface{}, err error) {
    return checkHubOwnership()
}); err != nil {
    _logger.Info("failed to checkHubOwnership after 3 retry")
} else {
	_logger.Info("success")
}

# Functions

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author