Versions in this module Expand all Collapse all v0 v0.1.0 Jan 19, 2020 Changes in this version + type Backoff interface + Current func() time.Duration + Next func() + Reset func() + func ConstantBackoff(amount time.Duration) Backoff + func ExponentialBackoff(n int, initialAmount time.Duration) Backoff + type Cookie interface + Content func() interface{} + ID func() string + Metadata func() map[string]string + type DigestFn func(Cookie) error + type Digester interface + Start func(fn DigestFn) error + Stop func() + func NewDigester(jar Jar, options ...DigesterOptionFunc) Digester + func NewDigesterWithPlugin(jarPath string, options ...DigesterOptionFunc) (Digester, error) + type DigesterOptionFunc func(*digester) + func SetBackoff(backoff Backoff) DigesterOptionFunc + func SetErrorLog(logger Logger) DigesterOptionFunc + func SetInfoLog(logger Logger) DigesterOptionFunc + func SetStopSignals(signals ...os.Signal) DigesterOptionFunc + func SetWorkers(workers int) DigesterOptionFunc + type Jar interface + Retire func(Cookie) error + Retrieve func() ([]Cookie, error) + type Logger interface + Printf func(format string, args ...interface{})