MCPcopy
hub / github.com/cloudfoundry/cli / getHost

Function getHost

cf/net/gateway_test.go:643–647  ·  view source on GitHub ↗
(urlString string)

Source from the content-addressed store, hash-verified

641})
642
643func getHost(urlString string) string {
644 url, err := url.Parse(urlString)
645 Expect(err).NotTo(HaveOccurred())
646 return url.Host
647}
648
649func refreshTokenAPIEndPoint(unauthorizedBody string, secondReqResp testnet.TestResponse) http.HandlerFunc {
650 return func(writer http.ResponseWriter, request *http.Request) {

Callers 2

gateway_test.goFile · 0.85

Calls 1

ParseMethod · 0.65

Tested by

no test coverage detected