Receive source frames
This commit is contained in:
@@ -30,3 +30,4 @@ netpod = { path = "../netpod" }
|
||||
#httpret = { path = "../httpret" }
|
||||
disk = { path = "../disk" }
|
||||
daqbufp2 = { path = "../daqbufp2" }
|
||||
netfetch = { path = "../netfetch" }
|
||||
|
||||
@@ -94,6 +94,9 @@ async fn go() -> Result<(), Error> {
|
||||
SubCmd::GenerateTestData => {
|
||||
disk::gen::gen_test_data().await?;
|
||||
}
|
||||
SubCmd::Zmtp(zmtp) => {
|
||||
netfetch::zmtp::zmtp_client(&zmtp.addr).await?;
|
||||
}
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
||||
@@ -15,6 +15,7 @@ pub enum SubCmd {
|
||||
Proxy(Proxy),
|
||||
Client(Client),
|
||||
GenerateTestData,
|
||||
Zmtp(Zmtp),
|
||||
}
|
||||
|
||||
#[derive(Debug, Clap)]
|
||||
@@ -70,3 +71,9 @@ pub struct BinnedClient {
|
||||
#[clap(long, default_value = "1048576")]
|
||||
pub disk_stats_every_kb: u32,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clap)]
|
||||
pub struct Zmtp {
|
||||
#[clap(long)]
|
||||
pub addr: String,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user