Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTP3RoundTripper ¶
type HTTP3RoundTripper struct { MockRoundTrip func(req *http.Request) (*http.Response, error) MockClose func() error }
HTTP3RoundTripper allows mocking http3.RoundTripper.
func (*HTTP3RoundTripper) Close ¶
func (txp *HTTP3RoundTripper) Close() error
Close calls MockClose.
type QUICContextDialer ¶
type QUICContextDialer struct { MockDialContext func(ctx context.Context, network, address string, tlsConfig *tls.Config, quicConfig *quic.Config) (quic.EarlySession, error) }
QUICContextDialer is a mockable netxlite.QUICContextDialer.
DEPRECATED: please use QUICDialer.
func (*QUICContextDialer) DialContext ¶
func (qcd *QUICContextDialer) DialContext(ctx context.Context, network, address string, tlsConfig *tls.Config, quicConfig *quic.Config) (quic.EarlySession, error)
DialContext calls MockDialContext.
Click to show internal directories.
Click to hide internal directories.