MCPcopy Index your code
hub / github.com/markbates/goth / HTTPClientWithFallBack

Function HTTPClientWithFallBack

provider.go:82–87  ·  view source on GitHub ↗

HTTPClientWithFallBack to be used in all fetch operations.

(h *http.Client)

Source from the content-addressed store, hash-verified

80
81// HTTPClientWithFallBack to be used in all fetch operations.
82func HTTPClientWithFallBack(h *http.Client) *http.Client {
83 if h != nil {
84 return h
85 }
86 return http.DefaultClient
87}

Callers 15

ClientMethod · 0.92
ClientMethod · 0.92
ClientMethod · 0.92
ClientMethod · 0.92
ClientMethod · 0.92
ClientMethod · 0.92
ClientMethod · 0.92
ClientMethod · 0.92
ClientMethod · 0.92
ClientMethod · 0.92
ClientMethod · 0.92
ClientMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…