add broker args
This commit is contained in:
parent
777a203f96
commit
79b03a6825
@ -7,8 +7,8 @@ type Broker interface {
|
|||||||
Options() Options
|
Options() Options
|
||||||
Connect() error
|
Connect() error
|
||||||
Disconnect() error
|
Disconnect() error
|
||||||
Publish(string, *Message, ...PublishOption) error
|
Publish(topic string, m *Message, opts ...PublishOption) error
|
||||||
Subscribe(string, Handler, ...SubscribeOption) (Subscriber, error)
|
Subscribe(topic string, h Handler, opts ...SubscribeOption) (Subscriber, error)
|
||||||
String() string
|
String() string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user