the algorithm is working, but will need more test

This commit is contained in:
nnhphong
2025-12-07 23:04:29 -05:00
parent 742827b16f
commit 08cb522f93
3 changed files with 25 additions and 31 deletions

View File

@@ -7,11 +7,15 @@ use std::error::Error;
#[derive(Clone, Debug)]
pub struct Backend {
address: String,
pub current_load : u32
}
impl Backend {
pub fn new(address: String) -> Self {
Backend { address }
Backend {
address,
current_load : 0
}
}
}