cct-lce
Version:
CCT Latency Check Engine
30 lines (29 loc) • 711 B
TypeScript
import { Latency } from './Latency';
import { Bandwidth, BandwidthPerSecond } from './Bandwidth';
export declare type Datacenter = {
id: string;
position: number;
cloud: string;
name: string;
town: string;
country: string;
latitude: string;
longitude: string;
ip: string;
tags: string;
lastUpdate: string;
averageLatency: number;
latencyJudgement?: Speed;
averageBandwidth: BandwidthPerSecond;
bandwidthJudgement?: Speed;
latencies: Latency[];
bandwidths: Bandwidth[];
storedLatencyCount: number;
storedBandwidthCount: number;
};
export declare enum Speed {
good = "GOOD",
ok = "OK",
bad = "BAD",
nothing = "NOTHING"
}