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

Method Close

shared/messaging/rabbitmq.go:314–321  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

312}
313
314func (r *RabbitMQ) Close() {
315 if r.conn != nil {
316 r.conn.Close()
317 }
318 if r.Channel != nil {
319 r.Channel.Close()
320 }
321}

Callers 5

mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
mainFunction · 0.95
NewRabbitMQFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected