udp load test: move network.rs and handler.rs into new worker module

This commit is contained in:
Joakim Frostegård 2021-11-28 22:28:50 +01:00
parent 411716e333
commit e972903451
4 changed files with 68 additions and 71 deletions

View file

@ -10,14 +10,13 @@ use rand_distr::Pareto;
mod common;
mod config;
mod handler;
mod network;
mod utils;
mod worker;
use common::*;
use config::Config;
use network::*;
use utils::*;
use worker::*;
#[global_allocator]
static GLOBAL: mimalloc::MiMalloc = mimalloc::MiMalloc;