Add broker comment

This commit is contained in:
Asim 2016-01-30 21:18:57 +00:00
parent 8b9faefd92
commit a53979dfed

View File

@ -1,5 +1,8 @@
package broker package broker
// Broker is an interface used for asynchronous messaging.
// Its an abstraction over various message brokers
// {NATS, RabbitMQ, Kafka, ...}
type Broker interface { type Broker interface {
Options() Options Options() Options
Address() string Address() string