mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 10:15:31 +00:00
rename handler.rs to handlers.rs
This commit is contained in:
parent
f3f196bd0d
commit
09cb31a4c9
6 changed files with 5 additions and 5 deletions
|
|
@ -5,7 +5,7 @@ use rand::Rng;
|
||||||
use rand_distr::Pareto;
|
use rand_distr::Pareto;
|
||||||
|
|
||||||
use aquatic::bench_utils::*;
|
use aquatic::bench_utils::*;
|
||||||
use aquatic::handler::*;
|
use aquatic::handlers::*;
|
||||||
use aquatic::common::*;
|
use aquatic::common::*;
|
||||||
|
|
||||||
use crate::common::*;
|
use crate::common::*;
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ use std::net::SocketAddr;
|
||||||
use rand::{Rng, thread_rng, rngs::SmallRng, SeedableRng};
|
use rand::{Rng, thread_rng, rngs::SmallRng, SeedableRng};
|
||||||
|
|
||||||
use aquatic::common::*;
|
use aquatic::common::*;
|
||||||
use aquatic::handler::handle_connect_requests;
|
use aquatic::handlers::handle_connect_requests;
|
||||||
|
|
||||||
|
|
||||||
const ITERATIONS: usize = 10_000_000;
|
const ITERATIONS: usize = 10_000_000;
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ use rand::Rng;
|
||||||
use rand_distr::Pareto;
|
use rand_distr::Pareto;
|
||||||
|
|
||||||
use aquatic::bench_utils::*;
|
use aquatic::bench_utils::*;
|
||||||
use aquatic::handler::*;
|
use aquatic::handlers::*;
|
||||||
use aquatic::common::*;
|
use aquatic::common::*;
|
||||||
|
|
||||||
use crate::common::*;
|
use crate::common::*;
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ use std::time::Duration;
|
||||||
|
|
||||||
pub mod bench_utils;
|
pub mod bench_utils;
|
||||||
pub mod common;
|
pub mod common;
|
||||||
pub mod handler;
|
pub mod handlers;
|
||||||
pub mod network;
|
pub mod network;
|
||||||
pub mod tasks;
|
pub mod tasks;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ use bittorrent_udp::types::IpVersion;
|
||||||
use bittorrent_udp::converters::{response_to_bytes, request_from_bytes};
|
use bittorrent_udp::converters::{response_to_bytes, request_from_bytes};
|
||||||
|
|
||||||
use crate::common::*;
|
use crate::common::*;
|
||||||
use crate::handler::*;
|
use crate::handlers::*;
|
||||||
|
|
||||||
|
|
||||||
pub fn create_socket(
|
pub fn create_socket(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue