initial healthcheck

This commit is contained in:
Jedrzej Stuczynski
2020-01-07 17:48:33 +00:00
parent 9c70c64825
commit ba1ebd18e0
2 changed files with 31 additions and 0 deletions
@@ -0,0 +1,13 @@
use log::debug;
struct HealthChecker {}
impl HealthChecker {
pub fn new() -> Self {
HealthChecker {}
}
pub fn run(&self) {
debug!("healthcheck run")
}
}
+18
View File
@@ -1 +1,19 @@
use crate::validator::config::Config;
use log::debug;
pub mod config;
mod health_check;
pub struct Validator {}
impl Validator {
pub fn new(config: &Config) -> Self {
debug!("validator new");
Validator {}
}
pub fn start(self) {
debug!("validator run");
}
}