An open API service indexing awesome lists of open source software.

https://github.com/znx3p0/maquio


https://github.com/znx3p0/maquio

Last synced: 22 days ago
JSON representation

Awesome Lists containing this project

README

        

# Maquio

Library for building composable distributed systems.

```rust
async fn main() -> Result<()> {
let router = Router::new()
.route("/", hello)
.route("/hello", hello);
let tcp_handle = Tcp::bind("127.0.0.1:8080", router).await?;

tcp_handle.await?;
Ok(())
}

async fn hello(c: Channel) -> Result<()> {
c.send("Hello world!");
Ok(())
}
```