Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
dureqctl
command
|
|
|
dureqd
command
|
|
|
examples
|
|
|
aggregation
command
Package main demonstrates dureq group aggregation — collecting individual items into groups that are automatically flushed and processed as a single aggregated job.
|
Package main demonstrates dureq group aggregation — collecting individual items into groups that are automatically flushed and processed as a single aggregated job. |
|
allow_failure
command
Package main demonstrates AllowFailure in dureq workflows — when a task with AllowFailure=true fails, the workflow continues instead of failing.
|
Package main demonstrates AllowFailure in dureq workflows — when a task with AllowFailure=true fails, the workflow continues instead of failing. |
|
batch
command
Package main demonstrates dureq batch processing — a shared preprocessing step (onetime) followed by parallel per-item processing with individual success/failure tracking and result collection.
|
Package main demonstrates dureq batch processing — a shared preprocessing step (onetime) followed by parallel per-item processing with individual success/failure tracking and result collection. |
|
batch_with_mux
command
Package main demonstrates dureq batch processing using the mux handler pattern — pattern-based routing, global middleware, per-handler middleware, and context utilities for metadata access.
|
Package main demonstrates dureq batch processing using the mux handler pattern — pattern-based routing, global middleware, per-handler middleware, and context utilities for metadata access. |
|
child_workflow
command
Package main demonstrates dureq child workflows — a workflow task that spawns an entire sub-workflow instead of dispatching a single job.
|
Package main demonstrates dureq child workflows — a workflow task that spawns an entire sub-workflow instead of dispatching a single job. |
|
condition_loop
command
Package main demonstrates condition-based looping in dureq workflows.
|
Package main demonstrates condition-based looping in dureq workflows. |
|
condition_workflow
command
Package main demonstrates condition nodes in dureq workflows — runtime branching based on handler return values.
|
Package main demonstrates condition nodes in dureq workflows — runtime branching based on handler return values. |
|
festival
command
Package main demonstrates the dureq festival use case.
|
Package main demonstrates the dureq festival use case. |
|
festival_mux_just_server
command
Package main demonstrates the dureq festival use case using the mux handler pattern — pattern-based routing, global middleware, per-handler middleware, and context utilities for metadata access.
|
Package main demonstrates the dureq festival use case using the mux handler pattern — pattern-based routing, global middleware, per-handler middleware, and context utilities for metadata access. |
|
festival_with_mux
command
Package main demonstrates the dureq festival use case using the mux handler pattern — pattern-based routing, global middleware, per-handler middleware, and context utilities for metadata access.
|
Package main demonstrates the dureq festival use case using the mux handler pattern — pattern-based routing, global middleware, per-handler middleware, and context utilities for metadata access. |
|
heartbeat_progress
command
Package main demonstrates heartbeat timeout and progress reporting.
|
Package main demonstrates heartbeat timeout and progress reporting. |
|
lifecycle_hooks
command
Package main demonstrates lifecycle hooks and GDPR data purge.
|
Package main demonstrates lifecycle hooks and GDPR data purge. |
|
onetimeat
command
Package main demonstrates the dureq festival use case.
|
Package main demonstrates the dureq festival use case. |
|
onetimeat_with_mux
command
Package main demonstrates the dureq one-time-at scheduling use case using the mux handler pattern — pattern-based routing, global middleware, per-handler middleware, and context utilities for metadata access.
|
Package main demonstrates the dureq one-time-at scheduling use case using the mux handler pattern — pattern-based routing, global middleware, per-handler middleware, and context utilities for metadata access. |
|
overlap_policy
command
Package main demonstrates schedule overlap policies.
|
Package main demonstrates schedule overlap policies. |
|
pause_resume
command
Package main demonstrates the Pause/Resume and Auto-Retry mechanism.
|
Package main demonstrates the Pause/Resume and Auto-Retry mechanism. |
|
priority_workflow
command
Package main demonstrates workflow task priority in dureq — when multiple tasks become ready simultaneously, higher-priority tasks are dispatched first.
|
Package main demonstrates workflow task priority in dureq — when multiple tasks become ready simultaneously, higher-priority tasks are dispatched first. |
|
result_piping
command
Package main demonstrates ResultFrom (result piping) in dureq workflows — automatically passing one task's output as the next task's input.
|
Package main demonstrates ResultFrom (result piping) in dureq workflows — automatically passing one task's output as the next task's input. |
|
retention
command
Package main demonstrates dureq retention/archival — automatic cleanup of completed jobs after a configurable retention period.
|
Package main demonstrates dureq retention/archival — automatic cleanup of completed jobs after a configurable retention period. |
|
shared
Package shared provides common Redis configuration for all examples.
|
Package shared provides common Redis configuration for all examples. |
|
signals
command
Package main demonstrates dureq workflow signals — sending asynchronous external signals to a running workflow instance.
|
Package main demonstrates dureq workflow signals — sending asynchronous external signals to a running workflow instance. |
|
subflow_workflow
command
Package main demonstrates dynamic subflow task generation in dureq workflows.
|
Package main demonstrates dynamic subflow task generation in dureq workflows. |
|
typed_handler
command
Package main demonstrates the generic type-safe handler wrapper and rich control flow errors (Skip, Repeat, Pause).
|
Package main demonstrates the generic type-safe handler wrapper and rich control flow errors (Skip, Repeat, Pause). |
|
workflow
command
Package main demonstrates dureq workflows — a DAG of tasks executed with dependency ordering, orchestrated by the leader node.
|
Package main demonstrates dureq workflows — a DAG of tasks executed with dependency ordering, orchestrated by the leader node. |
|
workflow_with_mux
command
Package main demonstrates dureq workflows using the mux handler pattern — pattern-based routing, global middleware, per-handler middleware, and context utilities for metadata access.
|
Package main demonstrates dureq workflows using the mux handler pattern — pattern-based routing, global middleware, per-handler middleware, and context utilities for metadata access. |
|
gen
|
|
|
internal
|
|
|
lifecycle
Package lifecycle implements a job status state machine with validated transitions and optional hooks.
|
Package lifecycle implements a job status state machine with validated transitions and optional hooks. |
|
ratelimit
Package ratelimit provides a distributed token bucket rate limiter backed by Redis Lua scripts.
|
Package ratelimit provides a distributed token bucket rate limiter backed by Redis Lua scripts. |
|
workflow
Package workflow implements workflow DAG validation, topological ordering, and the orchestrator that advances workflow state on task completion.
|
Package workflow implements workflow DAG validation, topological ordering, and the orchestrator that advances workflow state on task completion. |
|
pkg
|
|
|
dureq
Package dureq provides top-level convenience constructors for the dureq distributed job scheduling system backed by Redis.
|
Package dureq provides top-level convenience constructors for the dureq distributed job scheduling system backed by Redis. |
Click to show internal directories.
Click to hide internal directories.