type net/http.RoundTripper
27 uses
net/http (current package)
client.go#L63: Transport RoundTripper
client.go#L118: type RoundTripper interface {
client.go#L206: func (c *Client) transport() RoundTripper {
client.go#L218: func send(ireq *Request, rt RoundTripper, deadline time.Time) (resp *Response, didTimeout func() bool, err error) {
client.go#L327: func knownRoundTripperImpl(rt RoundTripper, req *Request) bool {
client.go#L358: 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 {
http2.go#L296: t.TLSNextProto = make(map[string]func(authority string, c *tls.Conn) RoundTripper)
http2.go#L300: t.TLSNextProto["h2"] = func(authority string, c *tls.Conn) RoundTripper {
http2.go#L354: func (t *Transport) http2AddConn(scheme, authority string, nc net.Conn) (RoundTripper, error) {
http2.go#L421: func (t *Transport) http2ExternalDial(ctx context.Context, cm connectMethod) (RoundTripper, error) {
transport.go#L47: var DefaultTransport RoundTripper = &Transport{
transport.go#L259: TLSNextProto map[string]func(authority string, c *tls.Conn) RoundTripper
transport.go#L383: npm = make(map[string]func(authority string, c *tls.Conn) RoundTripper)
transport.go#L416: DialClientConn(ctx context.Context, address string, proxy *url.URL, internalStateHook func()) (RoundTripper, error)
transport.go#L451: altProto, _ := t.altProto.Load().(map[string]RoundTripper)
transport.go#L577: func (t *Transport) alternateRoundTripper(req *Request) RoundTripper {
transport.go#L590: altProto, _ := t.altProto.Load().(map[string]RoundTripper)
transport.go#L904: func (t *Transport) RegisterProtocol(scheme string, rt RoundTripper) {
transport.go#L910: func (t *Transport) registerProtocol(scheme string, rt RoundTripper) error {
transport.go#L932: oldMap, _ := t.altProto.Load().(map[string]RoundTripper)
transport.go#L938: newMap = make(map[string]RoundTripper)
transport.go#L2082: altProto, _ := t.altProto.Load().(map[string]RoundTripper)
transport.go#L2245: alt RoundTripper
net/http/httputil
reverseproxy.go#L139: Transport http.RoundTripper