FlowGuard API - v1.2.0-tp.1
    Preparing search index...

    Function checkNtpClock

    • Check the local clock against NTP servers.

      On success: returns offset, server used, drift warning flag. On failure: returns offset=0 and error message. Never throws.

      Parameters

      • Optionalservers: readonly string[]

        NTP server hostnames (default: pool.ntp.org).

      • OptionaltimeoutMs: number

        Per-server query timeout (default: 5000ms).

      • OptionalntpDriftThresholdMs: number

      Returns Promise<NtpCheckResult>