package
0.0.0-20230808143047-ff439f295c29
Repository: https://github.com/caravan/essentials.git
Documentation: pkg.go.dev
# Functions
ApplyDefaults copies a Config instance and applies defaults to it.
ApplyOptions applies Options to a topic.
BackoffGenerator applies a provided backoff Generator to the Topic.
Consumed applies a consumed Policy to the Topic.
Counted applies a counted Policy to the Topic.
Defaults applies default settings to a topic if they weren't explicitly set through some other Option.
FibonacciBackoffSequence creates a Generator wherein every Duration follows the fibonacci sequence up to the specified maximum duration.
FixedBackoffSequence configures a Topic with a Generator wherein every Duration returned is the specified fixed amount.
Permanent applies a permanent Policy to the Topic.
RetentionPolicy applies a provided retention Policy to the Topic.
Timed applies a timed Policy to the Topic.
# Constants
Defaults.
Error messages.
Error messages.
# Type aliases
No description provided by the author