type net/http.RoundTripper
31 uses
net/http (current package)
client.go#L61: Transport RoundTripper
client.go#L116: type RoundTripper interface {
client.go#L204: func (c *Client) transport() RoundTripper {
client.go#L216: func send(ireq *Request, rt RoundTripper, deadline time.Time) (resp *Response, didTimeout func() bool, err error) {
client.go#L325: func knownRoundTripperImpl(rt RoundTripper, req *Request) bool {
client.go#L356: func setRequestCancel(req *Request, rt RoundTripper, deadline time.Time) (stopTimer func(), didTimeout func() bool) {
clientconn.go#L76: NewClientConn(nc net.Conn, internalStateHook func()) (RoundTripper, error)
filetransport.go#L31: func NewFileTransport(fs FileSystem) RoundTripper {
filetransport.go#L49: func NewFileTransportFS(fsys fs.FS) RoundTripper {
h2_bundle.go#L7545: upgradeFn := func(scheme, authority string, c net.Conn) RoundTripper {
h2_bundle.go#L7563: t1.TLSNextProto = make(map[string]func(string, *tls.Conn) RoundTripper)
h2_bundle.go#L7565: t1.TLSNextProto[http2NextProtoTLS] = func(authority string, c *tls.Conn) RoundTripper {
h2_bundle.go#L7569: t1.TLSNextProto[http2nextProtoUnencryptedHTTP2] = func(authority string, c *tls.Conn) RoundTripper {
h2_bundle.go#L10567: func (rt http2noDialH2RoundTripper) NewClientConn(conn net.Conn, internalStateHook func()) (RoundTripper, error) {
transport.go#L46: var DefaultTransport RoundTripper = &Transport{
transport.go#L255: TLSNextProto map[string]func(authority string, c *tls.Conn) RoundTripper
transport.go#L376: npm = make(map[string]func(authority string, c *tls.Conn) RoundTripper)
transport.go#L413: altProto, _ := t.altProto.Load().(map[string]RoundTripper)
transport.go#L565: func (t *Transport) alternateRoundTripper(req *Request) RoundTripper {
transport.go#L569: altProto, _ := t.altProto.Load().(map[string]RoundTripper)
transport.go#L878: func (t *Transport) RegisterProtocol(scheme string, rt RoundTripper) {
transport.go#L881: oldMap, _ := t.altProto.Load().(map[string]RoundTripper)
transport.go#L887: newMap = make(map[string]RoundTripper)
transport.go#L1954: altProto, _ := t.altProto.Load().(map[string]RoundTripper)
transport.go#L2119: alt RoundTripper
net/http/httputil
reverseproxy.go#L140: Transport http.RoundTripper
golang.org/x/net/http2
transport.go#L129: upgradeFn := func(scheme, authority string, c net.Conn) http.RoundTripper {
transport.go#L147: t1.TLSNextProto = make(map[string]func(string, *tls.Conn) http.RoundTripper)
transport.go#L149: t1.TLSNextProto[NextProtoTLS] = func(authority string, c *tls.Conn) http.RoundTripper {
transport.go#L153: t1.TLSNextProto[nextProtoUnencryptedHTTP2] = func(authority string, c *tls.Conn) http.RoundTripper {
transport.go#L2882: func (rt noDialH2RoundTripper) NewClientConn(conn net.Conn, internalStateHook func()) (http.RoundTripper, error) {