2016-03-14 13:45:38 +03: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 01:25:32 +03:00
|
|
|
func NewTransport(opts ...transport.Option) transport.Transport {
|
|
|
|
return transport.NewTransport(opts...)
|
2016-03-14 13:45:38 +03:00
|
|
|
}
|