ipblc/src/main.rs
Paul Lecuq 85d85a4ae4
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone Build is passing
initial version of ipblc after blparser renaming
2022-05-27 13:59:17 +02:00

18 lines
297 B
Rust

mod config;
mod firewall;
mod ip;
mod ipblc;
mod utils;
mod zmqcom;
use config::Context;
use std::sync::Arc;
use tokio::sync::Mutex;
#[tokio::main]
pub async fn main() {
// Create a new context
let ctx = Arc::new(Mutex::new(Context::new().await));
ipblc::inc::process(&ctx).await;
}