libp2prs-infoserver 0.2.1

The libp2p info server
docs.rs failed to build libp2prs-infoserver-0.2.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: libp2prs-infoserver-0.3.0

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