Skip to content

znx3p0/maquio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Maquio

Library for building composable distributed systems.

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(())
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages