1
0
mirror of https://github.com/eventials/goevents.git synced 2025-04-29 13:49:26 +08:00

10 lines
243 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)
Producer(exchange, queue string) (Producer, error)
2016-12-01 10:52:22 -02:00
Close()
2016-12-28 10:20:09 -02:00
NotifyConnectionClose() <-chan error
2016-12-28 09:33:59 -02:00
WaitUntilConnectionCloses()
2016-11-25 18:51:34 -02:00
}