mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-06-01 09:42:41 +00:00
Removed examples, added a master_querant change gather_settings to none (representing all)
This commit is contained in:
parent
83bbd5d428
commit
88a4c82158
28 changed files with 83 additions and 176 deletions
|
|
@ -2,7 +2,7 @@
|
|||
use gamedig::games::tf2;
|
||||
|
||||
fn main() {
|
||||
let response = tf2::query("91.216.250.10", None); //or Some(27015), None is the default protocol port
|
||||
let response = tf2::query("cosminperram.com", None); //or Some(27015), None is the default protocol port (which is 27015)
|
||||
match response {
|
||||
Err(error) => println!("Couldn't query, error: {error}"),
|
||||
Ok(r) => println!("{:?}", r)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue