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

15 lines
269 B
Go
Raw Normal View History

2016-03-14 12:45:38 +02:00
package http
import (
"github.com/micro/go-micro/cmd"
"github.com/micro/go-micro/transport"
)
func init() {
cmd.DefaultTransports["http"] = NewTransport
}
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
}