MCPcopy Create free account
hub / github.com/CyCoreSystems/ari-proxy / RabbitmqBus

Struct RabbitmqBus

messagebus/rabbitmq.go:38–47  ·  view source on GitHub ↗

RabbitmqBus is MessageBus implementation for RabbitMQ

Source from the content-addressed store, hash-verified

36
37// RabbitmqBus is MessageBus implementation for RabbitMQ
38type RabbitmqBus struct {
39 Config Config
40 Log log15.Logger
41
42 conn *amqp091.Connection
43 channel *amqp091.Channel
44 countTimeouts int64
45 isClosed bool
46 mu sync.RWMutex
47}
48
49// OptionRabbitmqFunc options for RabbitMQ
50type OptionRabbitmqFunc func(n *RabbitmqBus)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected