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

Method Client

github/github.go:1990–1992  ·  view source on GitHub ↗

Client returns an *http.Client that makes requests that are authenticated using HTTP Basic Authentication.

()

Source from the content-addressed store, hash-verified

1988// Client returns an *http.Client that makes requests that are authenticated
1989// using HTTP Basic Authentication.
1990func (t *BasicAuthTransport) Client() *http.Client {
1991 return &http.Client{Transport: t}
1992}
1993
1994func (t *BasicAuthTransport) transport() http.RoundTripper {
1995 if t.Transport != nil {

Callers 3

mainFunction · 0.95
getOAuthAppClientFunction · 0.95
TestBasicAuthTransportFunction · 0.95

Calls

no outgoing calls

Tested by 2

getOAuthAppClientFunction · 0.76
TestBasicAuthTransportFunction · 0.76