probes

package
v0.0.0-...-20e63b6 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunProbe

func RunProbe(ctx context.Context, p Probe, target endpoint.Endpoint, dataChan chan *metrics.EventMetrics)

Types

type Probe

type Probe interface {
	GetName() string
	GetOpts() *options.Options
	GetType() string
	Logger() *logrus.Entry
	Run(ctx context.Context, target endpoint.Endpoint, em *metrics.EventMetrics) (success bool, err error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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