MCPcopy
hub / github.com/caddyserver/caddy / GetIPRanges

Method GetIPRanges

modules/caddyhttp/ip_range.go:53–53  ·  view source on GitHub ↗
(*http.Request)

Source from the content-addressed store, hash-verified

51// server can continue to operate normally.
52type IPRangeSource interface {
53 GetIPRanges(*http.Request) []netip.Prefix
54}
55
56// StaticIPRange provides a static range of IP address prefixes (CIDRs).

Callers 1

determineTrustedProxyFunction · 0.65

Implementers 1

StaticIPRangemodules/caddyhttp/ip_range.go

Calls

no outgoing calls

Tested by

no test coverage detected