mirror of
https://github.com/szymon-jozef/checkers.git
synced 2026-10-27 19:20:44 +01:00
feat: add client::{start, update}
This commit is contained in:
11
src/bin/client.rs
Normal file
11
src/bin/client.rs
Normal file
@@ -0,0 +1,11 @@
|
||||
use checkers::network::client::Client;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
env_logger::init();
|
||||
|
||||
let mut client: Client = Client::new().await;
|
||||
client.update().await;
|
||||
|
||||
return Ok(());
|
||||
}
|
||||
Reference in New Issue
Block a user