cat_gateway::service::utilities::net

Function get_public_ipv4

Source
pub(crate) fn get_public_ipv4() -> IpAddr
Expand description

Get the public IPv4 Address of the Service.

In the unlikely event this fails, the address will be 0.0.0.0