genericprobe

package
v5.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GenericProbe

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

func New

func New(name string, pinger Pinger) *GenericProbe

func (*GenericProbe) Check

func (p *GenericProbe) Check(_ context.Context) error

func (*GenericProbe) Name

func (p *GenericProbe) Name() string

type Pinger

type Pinger interface {
	Ping() error
}

Jump to

Keyboard shortcuts

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