1
0
mirror of https://github.com/eventials/goevents.git synced 2025-04-28 13:48:49 +08:00
2017-12-19 15:28:21 -02:00

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
}