refactored the code to get and send messages from a websocket server

This commit is contained in:
Valmo Trindade
2024-10-21 01:53:41 -03:00
parent cb031d7c65
commit 059b749cab
4 changed files with 529 additions and 330 deletions

View File

@@ -25,11 +25,10 @@ pub fn init() -> Extension {
.unwrap();
log4rs::init_config(config).unwrap();
Extension::build()
.command("start", commands::start)
.command("stop", commands::stop)
.command("ping", commands::send_ping)
.command("location", commands::send_location)
.command("message", commands::message)
.finish()
}