We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49e0c69 commit 2386bcaCopy full SHA for 2386bca
src/app/docs/tour/5-routers/page.mdx
@@ -19,15 +19,15 @@ use iroh_gossip::Gossip;
19
20
#[tokio::main]
21
async fn main() -> anyhow::Result<()> {
22
- let endpoint= Endpoint::bind().await?;
+ let endpoint = Endpoint::bind().await?;
23
let store = MemStore::new();
24
let blobs = BlobsProtocol::new(&store,None);
25
26
let gossip = Gossip::builder().spawn(endpoint.clone());
27
28
29
//build the router
30
- let router=Router::builder(endpoint)
+ let router = Router::builder(endpoint)
31
.accept(iroh_blobs::ALPN, blobs)
32
.accept(iroh_gossip::ALPN, gossip)
33
.spawn();
0 commit comments