1
0
mirror of https://github.com/go-micro/go-micro.git synced 2024-12-12 08:23:58 +02:00
go-micro/network/transport/http/http.go

12 lines
319 B
Go
Raw Normal View History

2018-11-18 18:32:53 +02:00
// Package http returns a http2 transport using net/http
2016-03-14 12:45:38 +02:00
package http
import (
2019-07-07 11:37:34 +02:00
"github.com/micro/go-micro/network/transport"
2016-03-14 12:45:38 +02:00
)
2018-11-18 18:32:53 +02:00
// NewTransport returns a new http transport using net/http and supporting http2
2016-03-16 00:25:32 +02:00
func NewTransport(opts ...transport.Option) transport.Transport {
return transport.NewTransport(opts...)
2016-03-14 12:45:38 +02:00
}