Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
314
func
(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
main
Function · 0.95
main
Function · 0.95
main
Function · 0.95
main
Function · 0.95
NewRabbitMQ
Function · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected