Move transport to network/transport

This commit is contained in:
Asim Aslam
2019-07-07 10:37:34 +01:00
parent eafc930f84
commit d2d6841f02
46 changed files with 49 additions and 49 deletions

View File

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