MCPcopy Create free account
hub / github.com/corestoreio/pkg / InStr

Method InStr

net/ranges.go:62–64  ·  view source on GitHub ↗

InStr checks if the test IP address string lies within the range.

(ip string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

TestIPRange_InFunction · 0.45
BenchmarkIPRangeV6Function · 0.45
BenchmarkIPRangeV4Function · 0.45

Calls 1

InMethod · 0.95

Tested by 3

TestIPRange_InFunction · 0.36
BenchmarkIPRangeV6Function · 0.36
BenchmarkIPRangeV4Function · 0.36