grpcpulse 0.1.0

Benchmark and compare gRPC endpoints side by side — latency, throughput, and stream lag
Documentation
#[derive(Debug,Clone)]
pub struct Endpoint{
    pub name:String,
    pub url:String,
    pub headers:Vec<(String,String)>,
}

impl Endpoint{
    pub fn new(name: impl Into<String>,url:impl Into<String>)-> Self{
        Self{
        name:name.into(),
        url:url.into(),
        headers:vec![],
    }
}
 pub fn with_header(mut self, key:impl Into<String>,value:impl Into<String>)->Self{
    self.headers.push((key.into(),value.into()));
    self
 }
}