libp2prs-infoserver

Crates.iolibp2prs-infoserver
lib.rslibp2prs-infoserver
version0.3.0
sourcesrc
created_at2021-01-14 12:25:51.198024
updated_at2021-04-23 08:00:05.056602
descriptionThe libp2p info server
homepage
repositoryhttps://github.com/netwarps/libp2p-rs
max_upload_size
id341885
size12,646
(paradeum)

documentation

README

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());
Commit count: 161

cargo fmt