ragit-server 0.4.2

poc server implementation of ragit
1
2
3
4
5
6
7
8
9
use warp::http::StatusCode;
use warp::reply::{Reply, with_status};

pub fn get_health() -> Box<dyn Reply> {
    Box::new(with_status(
        String::new(),
        StatusCode::from_u16(200).unwrap(),
    ))
}