mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-12 08:23:58 +02:00
f23638c036
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
12 lines
314 B
Go
12 lines
314 B
Go
// Package http returns a http2 transport using net/http
|
|
package http
|
|
|
|
import (
|
|
"github.com/micro/go-micro/v2/transport"
|
|
)
|
|
|
|
// NewTransport returns a new http transport using net/http and supporting http2
|
|
func NewTransport(opts ...transport.Option) transport.Transport {
|
|
return transport.NewTransport(opts...)
|
|
}
|