rust-gamedig/examples/the_ship.rs
2022-10-20 00:14:57 +03:00

10 lines
241 B
Rust

use gamedig::TheShip;
fn main() {
let response = TheShip::query("46.4.48.226", Some(27017));
match response {
Err(error) => println!("Couldn't query, error: {error}"),
Ok(r) => println!("{:?}", r)
}
}