roche 0.3.3

A cli to build serverless rust applications
1
2
3
4
5
pub fn handler() -> tide::Server<()> {  
    let mut api = tide::new();
    api.at("/").get(|_| async { Ok("Hello, world!") });
    api
}