| 13 | ) |
| 14 | |
| 15 | type OAuth2Config struct { |
| 16 | Token *oauth2.Token |
| 17 | TokenSourceFunc OAuth2TokenSource |
| 18 | |
| 19 | httpClientOnce sync.Once |
| 20 | httpClient *http.Client |
| 21 | } |
| 22 | |
| 23 | // Do issues req using a dedicated http.Client per OAuth2Config so a |
| 24 | // parallel httptest.Server.Close() (which calls CloseIdleConnections |
nothing calls this directly
no outgoing calls
no test coverage detected