mirror of
https://github.com/eventials/goevents.git
synced 2025-04-29 13:49:26 +08:00
10 lines
243 B
Go
10 lines
243 B
Go
package messaging
|
|
|
|
type Connection interface {
|
|
Consumer(autoAck bool, exchange, queue string) (Consumer, error)
|
|
Producer(exchange, queue string) (Producer, error)
|
|
Close()
|
|
NotifyConnectionClose() <-chan error
|
|
WaitUntilConnectionCloses()
|
|
}
|