refactor: reorganize banner api files, fix clippy lints, reformat

This commit is contained in:
2025-09-12 20:50:47 -05:00
parent e9a0558535
commit e5d8cec2d6
9 changed files with 283 additions and 296 deletions

View File

@@ -13,6 +13,12 @@ pub struct ServiceManager {
shutdown_tx: broadcast::Sender<()>,
}
impl Default for ServiceManager {
fn default() -> Self {
Self::new()
}
}
impl ServiceManager {
pub fn new() -> Self {
let (shutdown_tx, _) = broadcast::channel(1);