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