Vasiliy Tolstov
23ad7cdb0b
* fix import path for v2 release Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
17 lines
372 B
Go
17 lines
372 B
Go
// Package quic provides a QUIC based transport
|
|
package quic
|
|
|
|
import (
|
|
"github.com/micro/go-micro/v2/config/cmd"
|
|
"github.com/micro/go-micro/v2/transport"
|
|
"github.com/micro/go-micro/v2/transport/quic"
|
|
)
|
|
|
|
func init() {
|
|
cmd.DefaultTransports["quic"] = NewTransport
|
|
}
|
|
|
|
func NewTransport(opts ...transport.Option) transport.Transport {
|
|
return quic.NewTransport(opts...)
|
|
}
|