add quic to defaults
This commit is contained in:
parent
3fc7d9ea50
commit
cb1c1afc84
@ -42,6 +42,7 @@ import (
|
|||||||
tgrpc "github.com/micro/go-micro/transport/grpc"
|
tgrpc "github.com/micro/go-micro/transport/grpc"
|
||||||
thttp "github.com/micro/go-micro/transport/http"
|
thttp "github.com/micro/go-micro/transport/http"
|
||||||
tmem "github.com/micro/go-micro/transport/memory"
|
tmem "github.com/micro/go-micro/transport/memory"
|
||||||
|
"github.com/micro/go-micro/transport/quic"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Cmd interface {
|
type Cmd interface {
|
||||||
@ -211,6 +212,7 @@ var (
|
|||||||
"memory": tmem.NewTransport,
|
"memory": tmem.NewTransport,
|
||||||
"http": thttp.NewTransport,
|
"http": thttp.NewTransport,
|
||||||
"grpc": tgrpc.NewTransport,
|
"grpc": tgrpc.NewTransport,
|
||||||
|
"quic": quic.NewTransport,
|
||||||
}
|
}
|
||||||
|
|
||||||
// used for default selection as the fall back
|
// used for default selection as the fall back
|
||||||
|
Loading…
x
Reference in New Issue
Block a user