2016-03-14 10:45:38 +00:00
|
|
|
package http
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/micro/go-micro/broker"
|
|
|
|
"github.com/micro/go-micro/cmd"
|
|
|
|
)
|
|
|
|
|
|
|
|
func init() {
|
|
|
|
cmd.DefaultBrokers["http"] = NewBroker
|
|
|
|
}
|
|
|
|
|
2016-03-15 22:12:28 +00:00
|
|
|
func NewBroker(opts ...broker.Option) broker.Broker {
|
|
|
|
return broker.NewBroker(opts...)
|
2016-03-14 10:45:38 +00:00
|
|
|
}
|