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

FuncType roundTripperFunc

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

roundTripperFunc creates a RoundTripper (transport).

func(*http.Request) (*http.Response, error)

Source from the content-addressed store, hash-verified

2129
2130// roundTripperFunc creates a RoundTripper (transport).
2131type roundTripperFunc func(*http.Request) (*http.Response, error)
2132
2133func (fn roundTripperFunc) RoundTrip(r *http.Request) (*http.Response, error) {
2134 return fn(r)

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…