package
0.0.0-20240812092702-ecb71ff15d1e
Repository: https://github.com/alifcapital/rabbitmq.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
NewConsumerTraceLoggerMid example of Middleware which logs a message into traces.
NewExchangeName placeholder in format "{owner}.{name_you_desire}" example result: "subscriptions.primary".
No description provided by the author
NewMessage assumes body to be json, for other formats write own factory function.
No description provided by the author
NewOpenTelemetryMiddleware openTelemetry tracer for rabbitmq.
No description provided by the author
No description provided by the author
NewQueueName placeholder in format: "{owner}.{ENV}.{name_you_desire}" example result: "subscriptions.prod.primary" ENV specification help you keep testing queues separate from production, and also run any debugging listening on production data.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
Pool is a generic container for keeping rabbitmq clients.
No description provided by the author

# Type aliases

ErrorHandler should handle error during Handler phase and return indicator of `requeue` i.e.
Handler is a function should be some kind of controller.Method where you can handle a kind of business logic or call underlying function and return error which will be handled by underlying ErrorHandler.
No description provided by the author
No description provided by the author