feat(services): Add nixcon-demo service with simple web server
This commit is contained in:
parent
2be1fff251
commit
8ffe811d46
5 changed files with 922 additions and 0 deletions
8
services/nixcon-demo/src/main.rs
Normal file
8
services/nixcon-demo/src/main.rs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
use std::io;
|
||||
use rouille::Response;
|
||||
|
||||
fn main() {
|
||||
rouille::start_server("0.0.0.0:8080", move |req| {
|
||||
rouille::log(req, io::stdout(), || Response::text("Haló NixCon!"))
|
||||
})
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue