micro/transport/http/http.go

12 lines
314 B
Go
Raw Normal View History

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