#[tauri::command]
pub async fn ping_host(
    ip: String,
) -> Result<bool, String> {
    if ip.trim().is_empty() {
        return Err(
            "ip address cannot be empty"
                .to_string(),
        );
    }

    Ok(true)
}