Broker init
This commit is contained in:
@@ -9,6 +9,6 @@ func init() {
|
||||
cmd.DefaultBrokers["http"] = NewBroker
|
||||
}
|
||||
|
||||
func NewBroker(addrs []string, opts ...broker.Option) broker.Broker {
|
||||
return broker.NewBroker(addrs, opts...)
|
||||
func NewBroker(opts ...broker.Option) broker.Broker {
|
||||
return broker.NewBroker(opts...)
|
||||
}
|
||||
|
Reference in New Issue
Block a user