Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
2c11648
docs: update workers howto for jitter and middleware chain
ankurs Apr 23, 2026
70762b7
docs: add Child() and Worker getters to WorkerInfo section
ankurs Apr 23, 2026
84af594
docs: clarify attempt lifetime vs per-cycle duration in metrics table
ankurs Apr 23, 2026
3cdfe14
docs: update for restart default, remove redundant WithRestart(true),…
ankurs Apr 23, 2026
bf3e52d
fix: address PR review comments — consistent log imports, clarify slo…
ankurs Apr 23, 2026
e96d80d
refactor: consistent getter naming in docs — all getters use Get prefix
ankurs Apr 23, 2026
d144afd
fix: broken code fences and stale GetChildren reference
ankurs Apr 23, 2026
13c5677
docs: clarify run-level vs worker-level AddInterceptors distinction
ankurs Apr 23, 2026
28091d8
Merge remote-tracking branch 'origin/main' into docs/workers-middlewa…
ankurs Apr 24, 2026
901241b
fix: add language tag to jitter formula code fence (MD040)
ankurs Apr 24, 2026
1f7eea6
docs: comprehensive workers howto update
ankurs Apr 24, 2026
5d571ea
docs: Add is now skip-if-exists, document Remove+Add for replace
ankurs Apr 24, 2026
0b25cd8
docs: expand key properties — two-layer panic recovery, metrics, hand…
ankurs Apr 24, 2026
3ec8dd7
docs: final cleanup — 10 fixes for workers.md
ankurs Apr 24, 2026
8ac884a
docs: make Quick Start a complete, runnable Go program
ankurs Apr 24, 2026
f55f55e
docs: fix 5 code example issues in workers.md
ankurs Apr 24, 2026
b16ac2d
docs: fix batchProcessor example — remove advisory locks mention, use…
ankurs Apr 24, 2026
e0f4d3c
docs: remove struct handler from HandlerFunc example — covered below …
ankurs Apr 24, 2026
326775f
docs: remove suture type from WithBackoffJitter table entry
ankurs Apr 24, 2026
b6b9f3c
docs: remove 'tracing' from Packages.md workers overview — tracing is…
ankurs Apr 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ grpcpool is a pool of grpc.ClientConns that can be used to make requests to a gr
Documentation can be found at [grpcpool-docs]

## [Workers]
Workers is a worker lifecycle library that manages background goroutines with automatic panic recovery, configurable restart with backoff, tracing, and structured shutdown. Built on [suture](https://github.com/thejerf/suture), it provides a builder pattern for defining workers, helpers for common patterns (periodic tasks, channel consumers, batch processors), and dynamic child worker management via `WorkerContext`. See the [Workers howto](/howto/workers/) for usage examples.
Workers is a worker lifecycle library that manages background goroutines with automatic panic recovery, configurable restart with backoff, and structured shutdown. Built on [suture](https://github.com/thejerf/suture), it provides a builder pattern for defining workers, helpers for common patterns (periodic tasks, channel consumers, batch processors), dynamic child worker management, composable middleware (recover, tracing, distributed locking, timing, per-cycle timeout, structured logging), and jitter support to desynchronize periodic workers. See the [Workers howto](/howto/workers/) for usage examples.

Documentation can be found at [workers-docs]

Expand Down
Loading
Loading