#peer-to-peer #libp2p #networking

libp2prs-infoserver

The libp2p info server

4 releases (2 breaking)

0.3.0 Apr 23, 2021
0.2.2 Mar 2, 2021
0.2.1 Jan 26, 2021
0.1.0 Jan 14, 2021

#81 in #libp2p

Download history 4/week @ 2022-01-18 4/week @ 2022-01-25 3/week @ 2022-02-01 6/week @ 2022-02-08 6/week @ 2022-02-15 10/week @ 2022-02-22 3/week @ 2022-03-01 3/week @ 2022-03-08 17/week @ 2022-03-15 14/week @ 2022-03-22 5/week @ 2022-03-29 6/week @ 2022-04-05 2/week @ 2022-04-12 4/week @ 2022-04-19 30/week @ 2022-04-26 24/week @ 2022-05-03

60 downloads per month
Used in libp2p-rs

MIT license

490KB
9K SLoC

libp2prs-infoserver

A visual interface about metric.

This is a web api-server that observe swarm's metric.

Usage

    let keypair = Keypair::generate_ed25519_fixed();
    let swarm = Swarm::new(keypair.public());
    let control = swarm.control();
    
    let monitor = InfoServer::new(control);
    monitor.start("127.0.0.1:8999".to_string());

Dependencies

~16–22MB
~498K SLoC