mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-06 15:27:28 +00:00
10 lines
250 B
Rust
10 lines
250 B
Rust
|
|
use gamedig::games::the_ship;
|
|
|
|
fn main() {
|
|
let response = the_ship::query("46.4.48.226", Some(27017));
|
|
match response {
|
|
Err(error) => println!("Couldn't query, error: {error}"),
|
|
Ok(r) => println!("{:?}", r)
|
|
}
|
|
}
|