micro/broker/http/http.go

15 lines
265 B
Go
Raw Normal View History

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