Router, add xrpc and router abstraction to router
This commit is contained in:
parent
57c396afe7
commit
07f4720244
5 changed files with 1514 additions and 37 deletions
|
|
@ -1,8 +1,9 @@
|
|||
use crate::router::setup;
|
||||
use crate::router::Router;
|
||||
|
||||
mod router;
|
||||
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
setup().await;
|
||||
let router = Router::new();
|
||||
router.serve().await;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue