12 lines
319 B
Go
12 lines
319 B
Go
|
// 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...)
|
||
|
}
|