Documentation ¶
Index ¶
- func Logging(logger log.Logger, routingKey string, handler rabbitmq.SubscriptionHandler) rabbitmq.SubscriptionHandler
- func PrometheusInstrumentation(routingKey string, handler rabbitmq.SubscriptionHandler) rabbitmq.SubscriptionHandler
- func RequestID(handler rabbitmq.SubscriptionHandler) rabbitmq.SubscriptionHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Logging ¶
func Logging(logger log.Logger, routingKey string, handler rabbitmq.SubscriptionHandler) rabbitmq.SubscriptionHandler
Logging provides a simple logging middleware for AMQP deliveries. It should be registered AFTER the RequestID middleware in order to log the requestId value properly.
func PrometheusInstrumentation ¶
func PrometheusInstrumentation(routingKey string, handler rabbitmq.SubscriptionHandler) rabbitmq.SubscriptionHandler
func RequestID ¶
func RequestID(handler rabbitmq.SubscriptionHandler) rabbitmq.SubscriptionHandler
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.