mirror of
https://github.com/valmojr/armatak.git
synced 2026-06-13 17:23:28 +00:00
refactored the code to get and send messages from a websocket server
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user