MCPcopy Create free account
hub / github.com/SpectoLabs/hoverfly / IsLocal

Function IsLocal

hoverctl/wrapper/hoverfly.go:141–143  ·  view source on GitHub ↗
(url string)

Source from the content-addressed store, hash-verified

139}
140
141func IsLocal(url string) bool {
142 return strings.Contains(url, "localhost") || strings.Contains(url, "127.0.0.1")
143}
144
145/*
146This isn't working as intended, its working, just not how I imagined it.

Callers 7

stop.goFile · 0.92
start.goFile · 0.92

Calls 1

ContainsMethod · 0.80