mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-12 08:23:58 +02:00
15 lines
269 B
Go
15 lines
269 B
Go
package http
|
|
|
|
import (
|
|
"github.com/micro/go-micro/cmd"
|
|
"github.com/micro/go-micro/transport"
|
|
)
|
|
|
|
func init() {
|
|
cmd.DefaultTransports["http"] = NewTransport
|
|
}
|
|
|
|
func NewTransport(opts ...transport.Option) transport.Transport {
|
|
return transport.NewTransport(opts...)
|
|
}
|