Documentation update

This commit is contained in:
CosminPerRam 2022-10-20 12:49:22 +03:00
parent 40912bb192
commit 00ead6d946
13 changed files with 117 additions and 58 deletions

View file

@ -1,8 +1,8 @@
use gamedig::TF2;
use gamedig::games::tf2;
fn main() {
let response = TF2::query("91.216.250.10", None);
let response = tf2::query("91.216.250.10", None); //or Some(27015), None is the default protocol port
match response {
Err(error) => println!("Couldn't query, error: {error}"),
Ok(r) => println!("{:?}", r)