Expand description
Domain layer for netspeed-cli.
This module contains the core business logic extracted from the broader codebase into focused, cohesive domains.
§Architecture
speedtest— Full test lifecycle orchestrationmeasurement— Bandwidth measurement (download/upload)server— Server discovery and selectionreporting— Result assembly and grading
§Design Principles
- Single responsibility per module
- Clear boundaries between domains
- Testable with minimal dependencies
Re-exports§
pub use crate::task_runner::TestRunResult;pub use measurement::run_bandwidth_test;pub use reporting::TestResultBuilder;pub use server::ServerDiscovery;pub use server::select_best_server;pub use speedtest::run_all_phases;
Modules§
- measurement
- Bandwidth measurement for download and upload tests.
- reporting
- Result assembly and grading.
- server
- Server discovery and selection.
- speedtest
- Full speed test lifecycle orchestration.