This commit is contained in:
azw 2023-11-13 00:25:52 +00:00
parent 86ce57ca43
commit 69f8764c4a
4 changed files with 5 additions and 2 deletions

View File

@ -37,6 +37,7 @@ impl f9::app::UserApp for UserApp {
)
),
);
WsListener::instance().borrow_mut().init();
}
fn update(&mut self) {
@ -44,7 +45,7 @@ impl f9::app::UserApp for UserApp {
}
fn uninit(&mut self) {
WsListener::instance().borrow_mut().uninit();
}
fn get_http_listen_port(&self) -> i32 {

View File

@ -2,4 +2,4 @@ pub mod downstreammgr;
pub mod downstream;
pub use downstreammgr::DownStreamMgr;
pub use downstream::DownSream;
pub use downstream::DownStream;

View File

@ -2,6 +2,8 @@ use f9::app::App;
mod app;
mod listener;
mod upstream;
mod downstream;
use crate::app::UserApp;
fn main() {