Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AMQPToContextFabric ¶
func AMQPToContextFabric(tracer opentracing.Tracer) func(string) amqp.DeliveryBefore
AMQPToContextFabric return function that writes to context event's span.
Example: tracer := ... fabric := amqpOpentracing.AMQPToContextFabric(tracer) client.Subscriber(amqp.SubscriberDeliverBefore(fabric("CreateComment"))
func ContextToAMQP ¶
func ContextToAMQP(tracer opentracing.Tracer) amqp.PublishingBefore
ContextToAMQP injects span to AMQP headers section.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.