Expand description
Server discovery and selection.
This module provides the core server discovery and selection logic.
Structs§
- Server
Discovery - Server discovery result.
Functions§
- calculate_
distance - Calculate distance between two geographic points using Haversine formula.
- fetch
- Fetch available servers and client location.
- fetch_
client_ location - Fetch just the client location from speedtest.net.
- measure_
latency_ under_ load - Measure latency while running a bandwidth test.
- ping_
test - Run a ping test against a server.
- select_
best_ server - Select the best server from a list based on distance.