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