libp2prs-exporter

Crates.iolibp2prs-exporter
lib.rslibp2prs-exporter
version0.3.0
sourcesrc
created_at2021-01-14 12:22:50.589094
updated_at2021-04-23 07:58:42.523612
descriptionThe libp2p exporter
homepage
repositoryhttps://github.com/netwarps/libp2p-rs
max_upload_size
id341884
size11,424
(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