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

Function NotInIPRange

net/request/realip.go:131–136  ·  view source on GitHub ↗

NotInIPRange returns a function which can check if a requests real IP address is NOT available in the provided list of IP ranges. You must provide a from and a to address. Passing imbalanced pairs returns a nil function pointer. The return function fits nicely with the signature of the package type

(fromTo ...string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

RealIPFunction · 0.85
InMethod · 0.45

Tested by

no test coverage detected