network-performance-monitor
Version:
A comprehensive network performance monitoring tool that continuously tests and tracks your network's performance over time
16 lines • 527 B
TypeScript
import { Database } from './database';
export interface PingTestResult {
host: string;
latency: number | null;
packetLoss: number | null;
error: string | null;
success: boolean;
}
export declare class PingTest {
private db;
constructor(db: Database);
testHost(host: string, networkName: string): Promise<PingTestResult>;
testAllHosts(networkName: string): Promise<PingTestResult[]>;
checkForAnomalies(results: PingTestResult[]): Promise<boolean>;
}
//# sourceMappingURL=pingTest.d.ts.map