Deprecated: Consider using the github.com/rabbitmq/amqp091-go package instead.
_examples/ directory
Directories ΒΆ
Path | Synopsis |
---|---|
_examples/pubsub | |
_examples/simple-consumer | This example declares a durable Exchange, an ephemeral (auto-delete) Queue, binds the Queue to the Exchange with a binding key, and consumes every message published to that Exchange with that routing key. |
_examples/simple-producer | This example declares a durable Exchange, and publishes a single message to that Exchange with a given routing key. |