initial healthcheck
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
use log::debug;
|
||||
|
||||
struct HealthChecker {}
|
||||
|
||||
impl HealthChecker {
|
||||
pub fn new() -> Self {
|
||||
HealthChecker {}
|
||||
}
|
||||
|
||||
pub fn run(&self) {
|
||||
debug!("healthcheck run")
|
||||
}
|
||||
}
|
||||
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user