ntp

package
v0.40.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package ntp implements an NTP clock-offset check using a hand-rolled NTPv3 client over UDP (no dependency). Clock drift silently breaks TLS validation and JWT expiry, so it's worth watching. Read-only (a single SNTP query).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Check

type Check struct {
	// contains filtered or unexported fields
}

func New

func New(cfg engine.NTPConfig) *Check

func (*Check) Name

func (c *Check) Name() string

func (*Check) Run

func (c *Check) Run(ctx context.Context) []engine.Finding

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL