is_loopback_host

Function is_loopback_host 

Source
pub fn is_loopback_host(host: &str) -> bool
Expand description

Returns true if host denotes a loopback-only bind address.

Used by the startup guard: binding to loopback means the API is not reachable from other pods/hosts, so weaker auth is tolerable for local development.