sampleprobe

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SampleProbe

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

func NewSampleProbe

func NewSampleProbe(name string, result bool) SampleProbe

func NewSampleProbeWithError added in v5.1.0

func NewSampleProbeWithError(name string, result bool, err error) SampleProbe

func NewTimedSampleProbe

func NewTimedSampleProbe(name string, result bool, time time.Duration) SampleProbe

func (SampleProbe) Check

func (s SampleProbe) Check(_ context.Context) error

func (SampleProbe) Name

func (s SampleProbe) Name() string

Jump to

Keyboard shortcuts

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