demo/

directory
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2026 License: Apache-2.0

Directories

Path Synopsis
internal
demo
Package demo holds what the demo producer and worker share: settings from the environment, dialing the server and creating the demo queue.
Package demo holds what the demo producer and worker share: settings from the environment, dialing the server and creating the demo queue.
Command producer enqueues a steady stream of demo jobs: mostly normal work, some flaky jobs that fail now and then, and a few poison jobs that always fail and end in the dead-letter queue.
Command producer enqueues a steady stream of demo jobs: mostly normal work, some flaky jobs that fail now and then, and a few poison jobs that always fail and end in the dead-letter queue.
Command worker runs the demo handlers: normal, flaky and poison jobs.
Command worker runs the demo handlers: normal, flaky and poison jobs.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL