probe

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package probe contains implementation of the network probe runners.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notification

type Notification struct {
	ID     string
	Status network.ProbeStatusSpec
}

Notification of a runner status.

type Runner

type Runner struct {
	ID    string
	Spec  network.ProbeSpecSpec
	Clock clock.Clock
	// contains filtered or unexported fields
}

Runner describes a state of running probe.

func (*Runner) Start

func (runner *Runner) Start(ctx context.Context, notifyCh chan<- Notification, logger *zap.Logger)

Start a runner with a given context.

func (*Runner) Stop

func (runner *Runner) Stop()

Stop a runner.

Jump to

Keyboard shortcuts

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