1
0
mirror of https://github.com/eventials/goevents.git synced 2025-04-29 13:49:26 +08:00
2016-12-28 10:20:09 -02:00

10 lines
243 B
Go

package messaging
type Connection interface {
Consumer(autoAck bool, exchange, queue string) (Consumer, error)
Producer(exchange, queue string) (Producer, error)
Close()
NotifyConnectionClose() <-chan error
WaitUntilConnectionCloses()
}