examples/

directory
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: Apache-2.0

Directories

Path Synopsis
Command basic enqueues a job in a transaction and waits for it to complete.
Command basic enqueues a job in a transaction and waits for it to complete.
Command cancel-long-job cancels a running job.
Command cancel-long-job cancels a running job.
Command insert-from-python runs a Go worker for jobs enqueued by a Python script.
Command insert-from-python runs a Go worker for jobs enqueued by a Python script.
internal
exampledb
Package exampledb connects the examples to Postgres with a freshly migrated schema.
Package exampledb connects the examples to Postgres with a freshly migrated schema.
Command multi-tenant-fairness shows a small tenant served despite a large backlog.
Command multi-tenant-fairness shows a small tenant served despite a large backlog.
Command otel traces job work with OpenTelemetry.
Command otel traces job work with OpenTelemetry.
Command periodic enqueues a job every second through the leader.
Command periodic enqueues a job every second through the leader.
Command transactional-enqueue shows a job inserted in a transaction.
Command transactional-enqueue shows a job inserted in a transaction.
Command unique inserts the same unique job twice.
Command unique inserts the same unique job twice.

Jump to

Keyboard shortcuts

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