1
0
mirror of https://github.com/eventials/goevents.git synced 2025-04-28 13:48:49 +08:00
2018-06-12 14:48:18 -03:00

11 lines
260 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
IsConnected() bool
}