udp: new file structure: each worker types is submod of workers mod

This commit is contained in:
Joakim Frostegård 2021-11-21 19:39:44 +01:00
parent 2e3f7a4c9f
commit 34f263f6b9
6 changed files with 19 additions and 14 deletions

View file

@ -7,7 +7,7 @@
//! Scrape: 1 873 545 requests/second, 533.75 ns/request
//! ```
use aquatic_udp::handlers::run_request_worker;
use aquatic_udp::workers::request::run_request_worker;
use crossbeam_channel::unbounded;
use num_format::{Locale, ToFormattedString};
use rand::{rngs::SmallRng, thread_rng, Rng, SeedableRng};