1
This commit is contained in:
parent
86ce57ca43
commit
69f8764c4a
@ -37,6 +37,7 @@ impl f9::app::UserApp for UserApp {
|
|||||||
)
|
)
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
WsListener::instance().borrow_mut().init();
|
||||||
}
|
}
|
||||||
|
|
||||||
fn update(&mut self) {
|
fn update(&mut self) {
|
||||||
@ -44,7 +45,7 @@ impl f9::app::UserApp for UserApp {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn uninit(&mut self) {
|
fn uninit(&mut self) {
|
||||||
|
WsListener::instance().borrow_mut().uninit();
|
||||||
}
|
}
|
||||||
|
|
||||||
fn get_http_listen_port(&self) -> i32 {
|
fn get_http_listen_port(&self) -> i32 {
|
||||||
|
@ -2,4 +2,4 @@ pub mod downstreammgr;
|
|||||||
pub mod downstream;
|
pub mod downstream;
|
||||||
|
|
||||||
pub use downstreammgr::DownStreamMgr;
|
pub use downstreammgr::DownStreamMgr;
|
||||||
pub use downstream::DownSream;
|
pub use downstream::DownStream;
|
||||||
|
@ -2,6 +2,8 @@ use f9::app::App;
|
|||||||
|
|
||||||
mod app;
|
mod app;
|
||||||
mod listener;
|
mod listener;
|
||||||
|
mod upstream;
|
||||||
|
mod downstream;
|
||||||
use crate::app::UserApp;
|
use crate::app::UserApp;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user