1
0
mirror of https://github.com/eventials/goevents.git synced 2025-05-02 22:17:09 +08:00

11 lines
269 B
Go
Raw Normal View History

2016-12-01 11:40:58 -02:00
package messaging
2016-11-25 18:51:34 -02:00
2016-12-01 10:52:22 -02:00
type Connection interface {
2016-12-28 09:20:29 -02:00
Consumer(autoAck bool, exchange, queue string) (Consumer, error)
2017-03-09 17:32:05 -03:00
Producer(exchange string) (Producer, error)
2016-12-01 10:52:22 -02:00
Close()
2016-12-28 10:20:09 -02:00
NotifyConnectionClose() <-chan error
2017-03-09 17:32:05 -03:00
NotifyReestablish() <-chan bool
2016-12-28 09:33:59 -02:00
WaitUntilConnectionCloses()
2016-11-25 18:51:34 -02:00
}