roundTripFunc lets a plain function satisfy http.RoundTripper.
func(*http.Request) (*http.Response, error)
| 413 | |
| 414 | // roundTripFunc lets a plain function satisfy http.RoundTripper. |
| 415 | type roundTripFunc func(*http.Request) (*http.Response, error) |
| 416 | |
| 417 | func (f roundTripFunc) RoundTrip(req *http.Request) (*http.Response, error) { return f(req) } |
| 418 |
no outgoing calls
no test coverage detected