move transport back

This commit is contained in:
Asim Aslam
2019-07-09 18:41:26 +01:00
parent 97282a5377
commit 0bf54c122f
39 changed files with 42 additions and 42 deletions

11
transport/http/http.go Normal file
View File

@@ -0,0 +1,11 @@
// Package http returns a http2 transport using net/http
package http
import (
"github.com/micro/go-micro/transport"
)
// NewTransport returns a new http transport using net/http and supporting http2
func NewTransport(opts ...transport.Option) transport.Transport {
return transport.NewTransport(opts...)
}