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

#24 in #libp2p

25 downloads per month
Used in libp2p-rs

MIT license

495KB
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

~25–37MB
~697K SLoC