Documentation
¶
Overview ¶
Package rabbitmq provides utilities for RabbitMQ tracing integration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Destination ¶
Destination creates a destination identifier from an exchange and routing key. If the exchange is empty, it returns just the routing key; otherwise, it returns the exchange and routing key joined by a forward slash.
Types ¶
type TableCarrier ¶
TableCarrier implements the TextMapCarrier interface for AMQP message headers.
func (TableCarrier) Get ¶
func (c TableCarrier) Get(key string) string
Get returns the string representation of the value associated with the given key. It returns an empty string if the key does not exist.
func (TableCarrier) Keys ¶
func (c TableCarrier) Keys() []string
Keys returns all keys in the message headers.
func (TableCarrier) Set ¶
func (c TableCarrier) Set(key string, value string)
Set associates a key-value pair in the message headers.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package consumer_tracing provides RabbitMQ consumer middleware for distributed tracing.
|
Package consumer_tracing provides RabbitMQ consumer middleware for distributed tracing. |
|
Package publisher_tracing provides RabbitMQ publisher middleware for distributed tracing.
|
Package publisher_tracing provides RabbitMQ publisher middleware for distributed tracing. |
Click to show internal directories.
Click to hide internal directories.