Skip to content

Commit

Permalink
add broker args
Browse files Browse the repository at this point in the history
  • Loading branch information
asim committed Jul 7, 2019
1 parent 777a203 commit 79b03a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions broker/broker.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ type Broker interface {
Options() Options
Connect() error
Disconnect() error
Publish(string, *Message, ...PublishOption) error
Subscribe(string, Handler, ...SubscribeOption) (Subscriber, error)
Publish(topic string, m *Message, opts ...PublishOption) error
Subscribe(topic string, h Handler, opts ...SubscribeOption) (Subscriber, error)
String() string
}

Expand Down

0 comments on commit 79b03a6

Please sign in to comment.