ui stuff
This commit is contained in:
parent
0d79b42072
commit
d1a68c635c
5 changed files with 384 additions and 94 deletions
|
|
@ -1,4 +1,5 @@
|
|||
mod auth;
|
||||
mod chat;
|
||||
mod config;
|
||||
mod db;
|
||||
mod entity;
|
||||
|
|
@ -24,6 +25,7 @@ pub struct AppState {
|
|||
pub settings: Arc<Settings>,
|
||||
pub http: reqwest::Client,
|
||||
pub voice: Arc<VoiceHub>,
|
||||
pub chat: Arc<chat::ChatHub>,
|
||||
}
|
||||
|
||||
#[tokio::main]
|
||||
|
|
@ -46,6 +48,7 @@ async fn main() -> anyhow::Result<()> {
|
|||
settings,
|
||||
http: reqwest::Client::new(),
|
||||
voice: Arc::new(VoiceHub::default()),
|
||||
chat: Arc::new(chat::ChatHub::default()),
|
||||
};
|
||||
let port = state.settings.port;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue