Function get_public_ip

Source
pub async fn get_public_ip(
    addr: Option<IpAddr>,
) -> Result<GeoIp, Box<dyn Error + Send + Sync>>
Expand description

Try various endpoints to figure our our current public IP. Begins with Snowstorm’s official backend, then fallls back to other options.