mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-06-01 09:42:41 +00:00
Documentation update
This commit is contained in:
parent
40912bb192
commit
00ead6d946
13 changed files with 117 additions and 58 deletions
|
|
@ -1,8 +1,8 @@
|
|||
|
||||
use gamedig::TheShip;
|
||||
use gamedig::games::the_ship;
|
||||
|
||||
fn main() {
|
||||
let response = TheShip::query("46.4.48.226", Some(27017));
|
||||
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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue