prober

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type JitterCalculator

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

JitterCalculator computes inter-packet delay variation over a sliding window.

func NewJitterCalculator

func NewJitterCalculator() *JitterCalculator

func (*JitterCalculator) Add

func (j *JitterCalculator) Add(rttMs float64) *float64

Add adds an RTT sample and returns the current jitter value. Returns nil if there are fewer than 2 samples.

func (*JitterCalculator) Reset

func (j *JitterCalculator) Reset()

Reset clears the jitter window.

type Prober

type Prober struct {
	Verbose bool
	// contains filtered or unexported fields
}

func New

func New(s *store.Store, cfg *config.Config, od *outage.Detector) *Prober

func (*Prober) Start

func (p *Prober) Start()

func (*Prober) Stop

func (p *Prober) Stop()

Jump to

Keyboard shortcuts

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