mq

package
v0.0.0-...-ab2e974 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Connection *amqp.Connection
)

Functions

func ExtractSpanLink(ctx context.Context, d amqp.Delivery) context.Context

extracts trace context from amqp delivery headers

func InjectTracing

func InjectTracing(ctx context.Context, m *amqp.Publishing) error

injects trace context into amqp headers

func NewChannel

func NewChannel() (ch *amqp.Channel)

We may want a failure tolerant version of new channel in some cases.

func NewFailableChannel

func NewFailableChannel() (*amqp.Channel, error)

A failure tolerant new channel

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL