1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-11-24 08:02:32 +02:00
go-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...)
}