prober

package
v0.0.0-...-1fee0d9 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProbeDNS

func ProbeDNS(ctx context.Context, target string, values url.Values, module config.Module, registry *prometheus.Registry, logger log.Logger) bool

func ProbeHTTP

func ProbeHTTP(ctx context.Context, target string, values url.Values, module config.Module, registry *prometheus.Registry, logger log.Logger) (success bool)

func ProbeICMP

func ProbeICMP(ctx context.Context, target string, values url.Values, module config.Module, registry *prometheus.Registry, logger log.Logger) (success bool)

func ProbeNagios

func ProbeNagios(ctx context.Context, target string, values url.Values, module config.Module, registry *prometheus.Registry, logger log.Logger) bool

func ProbeTCP

func ProbeTCP(ctx context.Context, target string, values url.Values, module config.Module, registry *prometheus.Registry, logger log.Logger) bool

Types

type ProbeFn

type ProbeFn func(ctx context.Context, target string, values url.Values, config config.Module, registry *prometheus.Registry, logger log.Logger) bool

Jump to

Keyboard shortcuts

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