micro/broker/http/http.go
2016-03-14 10:45:38 +00:00

15 lines
265 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(addrs []string, opts ...broker.Option) broker.Broker {
return broker.NewBroker(addrs, opts...)
}