micro/transport/http/http.go

15 lines
269 B
Go
Raw Normal View History

2016-03-14 10:45:38 +00:00
package http
import (
"github.com/micro/go-micro/cmd"
"github.com/micro/go-micro/transport"
)
func init() {
cmd.DefaultTransports["http"] = NewTransport
}
2016-03-15 22:25:32 +00:00
func NewTransport(opts ...transport.Option) transport.Transport {
return transport.NewTransport(opts...)
2016-03-14 10:45:38 +00:00
}