MCPcopy Create free account
hub / github.com/codealong-dev/ride-sharing / RabbitMQ

Struct RabbitMQ

shared/messaging/rabbitmq.go:20–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18)
19
20type RabbitMQ struct {
21 conn *amqp.Connection
22 Channel *amqp.Channel
23}
24
25func NewRabbitMQ(uri string) (*RabbitMQ, error) {
26 conn, err := amqp.Dial(uri)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected