The ship support

This commit is contained in:
cosminperram 2022-10-20 00:14:57 +03:00
parent 5cf5615265
commit 401d499d61
3 changed files with 19 additions and 9 deletions

10
examples/the_ship.rs Normal file
View file

@ -0,0 +1,10 @@
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)
}
}