Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckFunc ¶
CheckFunc is a function that checks a task to see if it should be retried. this may be used to modify the task struct
type Options ¶
type Options struct { bus.Options `toml:"bus"` // topic and channel to listen to // done tasks for retry review. DoneTopic string `toml:"done_topic" commented:"true"` DoneChannel string `toml:"done_channel" commented:"true"` RetriedTopic string `toml:"retried_topic" commented:"true" comment:"all retries published to this topic (disable with \"-\" value)"` RetryFailedTopic string `toml:"retry_failed_topic" commented:"true" comment:"all failures (retried and failed) published to this topic"` // retry rules RetryRules []*RetryRule `toml:"rule" commented:"true"` }
func NewOptions ¶
func NewOptions() *Options
Click to show internal directories.
Click to hide internal directories.