MCPcopy
hub / github.com/cloudflare/cloudflared / Error

Method Error

ingress/ingress.go:391–395  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

389}
390
391func (e ruleShouldNotBeCatchAllError) Error() string {
392 return fmt.Sprintf("Rule #%d is matching the hostname '%s', but "+
393 "this will match every hostname, meaning the rules which follow it "+
394 "will never be triggered.", e.index+1, e.hostname)
395}
396
397func isHTTPService(url *url.URL) bool {
398 return url.Scheme == "http" || url.Scheme == "https" || url.Scheme == "ws" || url.Scheme == "wss"

Callers 15

TestRuleCreationFunction · 0.45
TestRuleCreationByCIDRFunction · 0.45
RequestMethod · 0.45
TestParseEchoReplyFunction · 0.45
TestParseEchoV6ReplyFunction · 0.45
testSendEchoErrorsFunction · 0.45
RoundTripMethod · 0.45

Calls

no outgoing calls