Restructure go-micro layout and plugins
This commit is contained in:
11
broker/http/http.go
Normal file
11
broker/http/http.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package http
|
||||
|
||||
// This is a hack
|
||||
|
||||
import (
|
||||
"github.com/myodc/go-micro/broker"
|
||||
)
|
||||
|
||||
func NewBroker(addrs []string, opt ...broker.Option) broker.Broker {
|
||||
return broker.NewBroker(addrs, opt...)
|
||||
}
|
||||
Reference in New Issue
Block a user