var DefaultUserAgent …
var NewLoggingConn …
var ExportAppendTime …
var ExportRefererForURL …
var ExportServerNewConn …
var ExportCloseWriteAndWait …
var ExportErrRequestCanceled …
var ExportErrRequestCanceledConn …
var ExportErrServerClosedIdle …
var ExportServeFile …
var ExportScanETag …
var ExportHttp2ConfigureServer …
var Export_shouldCopyHeaderOnRedirect …
var Export_writeStatusLine …
var Export_is408Message …
var MaxWriteWaitBeforeConnReuse …
func init() { … }
func CondSkipHTTP2(t testing.TB) { … }
var SetEnterRoundTripHook …
var SetRoundTripRetried …
func SetReadLoopBeforeNextReadHook(f func()) { … }
func SetPendingDialHooks(before, after func()) { … }
func SetTestHookServerServe(fn func(*Server, net.Listener)) { … }
func SetTestHookProxyConnectTimeout(t *testing.T, f func(context.Context, time.Duration) (context.Context, context.CancelFunc)) { … }
func NewTestTimeoutHandler(handler Handler, ctx context.Context) Handler { … }
func ResetCachedEnvironment() { … }
func (t *Transport) NumPendingRequestsForTesting() int { … }
func (t *Transport) IdleConnKeysForTesting() (keys []string) { … }
func (t *Transport) IdleConnKeyCountForTesting() int { … }
func (t *Transport) IdleConnStrsForTesting() []string { … }
func (t *Transport) IdleConnStrsForTesting_h2() []string { … }
func (t *Transport) IdleConnCountForTesting(scheme, addr string) int { … }
func (t *Transport) IdleConnWaitMapSizeForTesting() int { … }
func (t *Transport) IsIdleForTesting() bool { … }
func (t *Transport) QueueForIdleConnForTesting() { … }
func (t *Transport) PutIdleTestConn(scheme, addr string) bool { … }
func (t *Transport) PutIdleTestConnH2(scheme, addr string, alt RoundTripper) bool { … }
func unnilTestHook(f *func()) { … }
func hookSetter(dst *func()) func(func()) { … }
func ExportHttp2ConfigureTransport(t *Transport) error { … }
func (s *Server) ExportAllConnsIdle() bool { … }
func (s *Server) ExportAllConnsByState() map[ConnState]int { … }
func (r *Request) WithT(t *testing.T) *Request { … }
func ExportSetH2GoawayTimeout(d time.Duration) (restore func()) { … }
func (r *Request) ExportIsReplayable() bool { … }
func ExportCloseTransportConnsAbruptly(tr *Transport) { … }
func ResponseWriterConnForTesting(w ResponseWriter) (c net.Conn, ok bool) { … }
func init() { … }
func SetRSTAvoidanceDelay(t *testing.T, d time.Duration) { … }