func (t *hostSwitchingTransport) RoundTrip(req *http.Request) (*http.Response, error) {
	if req.URL.Host == t.primaryHost {
		return t.primary.RoundTrip(req)
	}
	return t.fallback.RoundTrip(req)
}
// RoundTrip implements http.RoundTripper.RoundTrip.
RoundTrip implements http.RoundTripper.RoundTrip.
// RoundTrip implements http . RoundTripper . RoundTrip .
func (t *hostSwitchingTransport) RoundTrip(req *http.Request) (*http.Response, error) {
	if req.URL.Host == t.primaryHost {
		return t.primary.RoundTrip(req)
	}
	return t.fallback.RoundTrip(req)
}
func ( t * hostSwitchingTransport ) RoundTrip ( req * http . Request ) ( * http . Response , error ) { if req . URL . Host == t . primaryHost { return t . primary . RoundTrip ( req ) } return t . fallback . RoundTrip ( req ) }
RoundTrip implements http.RoundTripper.RoundTrip.
RoundTrip implements http . RoundTripper . RoundTrip .