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