Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdaptClientTLS ¶
AdaptClientTLS adapts the TLS config for use with a client, specifically setting the NextProtos to "h3" to require HTTP/3 support.
func AttachPeer ¶
AttachPeer creates a middleware that attaches the remote address to the context with the grpc-go peer mechanism.
Types ¶
type ConnectionDispatcher ¶
type ConnectionDispatcher struct {
Listener *quic.Listener
Connect QUICConnServer
Grpc QUICConnServer
Error func(error)
}
type Dialer ¶
type Dialer = func(net.Addr, ...squic.EarlyDialerOption) squic.EarlyDialer
type HTTPClient ¶
type QUICConnServer ¶
type QUICConnServerFunc ¶
func (QUICConnServerFunc) ServeQUICConn ¶
func (f QUICConnServerFunc) ServeQUICConn(conn *quic.Conn) error
Click to show internal directories.
Click to hide internal directories.