micro/broker/http/http.go
2016-03-15 22:12:28 +00:00

15 lines
242 B
Go

package http
import (
"github.com/micro/go-micro/broker"
"github.com/micro/go-micro/cmd"
)
func init() {
cmd.DefaultBrokers["http"] = NewBroker
}
func NewBroker(opts ...broker.Option) broker.Broker {
return broker.NewBroker(opts...)
}