mod delivery; mod integration; mod logger; use logger::setup_logger; use dotenv::dotenv; use anyhow::Result; use tokio::sync::mpsc; use log::info; // Arch : // 1) 2 Unix-Socket client (for api grub and preproc) :: i think its a continious process for events when services are unavailable // 2) mpsc beetween `delivery` and `integration` :: // 3) websocket client in `integration` to pull configs from Monitoring System :: #[tokio::main(flavor = "multi_thread")] async fn main() -> Result<()> { let _ = setup_logger().await?; dotenv().ok(); info!("Pulling env vars from .env file if exists ..."); println!("Hello, world!"); Ok(()) }