17 lines
363 B
Go
17 lines
363 B
Go
// Package quic provides a QUIC based transport
|
|
package quic
|
|
|
|
import (
|
|
"github.com/micro/go-micro/config/cmd"
|
|
"github.com/micro/go-micro/transport"
|
|
"github.com/micro/go-micro/transport/quic"
|
|
)
|
|
|
|
func init() {
|
|
cmd.DefaultTransports["quic"] = NewTransport
|
|
}
|
|
|
|
func NewTransport(opts ...transport.Option) transport.Transport {
|
|
return quic.NewTransport(opts...)
|
|
}
|