Discover Packages
github.com/goware/breaker
package
module
Version:
v0.1.2
Opens a new window with list of versions in this module.
Published: Nov 28, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 4
Opens a new window with list of known importers.
README
README
¶
breaker
..
Example
..
LICENSE
MIT
Expand ▾
Collapse ▴
Documentation
¶
Do is an exponential-backoff-retry caller which will wait `backoff*factor**retry` up to `maxTries`
`maxTries = 1` means retry only once when an error occurs.
type Logger interface {
Info(v ...interface{})
Infof(format string , v ...interface{})
Warn(v ...interface{})
Warnf(format string , v ...interface{})
Error(v ...interface{})
Errorf(format string , v ...interface{})
Fatal(v ...interface{})
Fatalf(format string , v ...interface{})
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.