Hastic standalone https://hastic.io
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

27 lines
530 B

use crate::services::analytic_service::analytic_unit::types::{AnalyticUnit};
use std::sync::Arc;
use crate::config::Config;
use chrono::Utc;
use tokio::sync::{mpsc, RwLock};
struct DetectionRunner {
config: Config,
analytic_unit: Arc<RwLock<Box<dyn AnalyticUnit + Send + Sync>>>,
}
impl DetectionRunner {
pub fn new(config: Config, analytic_unit: Arc<RwLock<Box<dyn AnalyticUnit + Send + Sync>>>) -> DetectionRunner {
DetectionRunner { config, analytic_unit }
}
pub async fn run() {
}
}