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