mirror of
https://github.com/Xevion/banner.git
synced 2025-12-10 14:06:37 -06:00
refactor: reorganize banner api files, fix clippy lints, reformat
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user