Update options to be public. This means people can implement the interfaces and actually use the options

This commit is contained in:
Asim
2015-12-31 18:11:46 +00:00
parent c2154fd5cc
commit 64b45f7846
17 changed files with 203 additions and 200 deletions

View File

@@ -1,6 +1,7 @@
package broker
type Broker interface {
Options() Options
Address() string
Connect() error
Disconnect() error
@@ -28,7 +29,7 @@ type Publication interface {
}
type Subscriber interface {
Config() SubscribeOptions
Options() SubscribeOptions
Topic() string
Unsubscribe() error
}