health

package
v0.0.0-...-efbd42f Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PhylaxCheck

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

PhylaxCheck definition.

func NewPhylaxCheck

func NewPhylaxCheck(maxHealthTimeSeconds int64) *PhylaxCheck

NewPhylaxCheck instanciate a new PhylaxCheck

func (*PhylaxCheck) IsAlive

func (g *PhylaxCheck) IsAlive() bool

IsAlive check if the phylaxs are alive.

func (*PhylaxCheck) Ping

func (g *PhylaxCheck) Ping(ctx context.Context)

Change last ping.

Jump to

Keyboard shortcuts

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