MCPcopy Index your code
hub / github.com/google/go-github / transport

Method transport

github/github.go:1994–1999  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1992}
1993
1994func (t *BasicAuthTransport) transport() http.RoundTripper {
1995 if t.Transport != nil {
1996 return t.Transport
1997 }
1998 return http.DefaultTransport
1999}
2000
2001// formatRateReset formats d to look like "[rate reset in 2s]" or
2002// "[rate reset in 87m02s]" for the positive durations. And like "[rate limit was reset 87m02s ago]"

Callers 2

RoundTripMethod · 0.95

Calls

no outgoing calls

Tested by 1