add quic to defaults

This commit is contained in:
Asim Aslam 2019-08-08 00:19:30 +01:00
parent 3fc7d9ea50
commit cb1c1afc84

View File

@ -42,6 +42,7 @@ import (
tgrpc "github.com/micro/go-micro/transport/grpc"
thttp "github.com/micro/go-micro/transport/http"
tmem "github.com/micro/go-micro/transport/memory"
"github.com/micro/go-micro/transport/quic"
)
type Cmd interface {
@ -211,6 +212,7 @@ var (
"memory": tmem.NewTransport,
"http": thttp.NewTransport,
"grpc": tgrpc.NewTransport,
"quic": quic.NewTransport,
}
// used for default selection as the fall back