health

package
v0.0.0-...-2d88f35 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 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 GuardianCheck

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

GuardianCheck definition.

func NewGuardianCheck

func NewGuardianCheck(maxHealthTimeSeconds int64) *GuardianCheck

NewGuardianCheck instanciate a new GuardianCheck

func (*GuardianCheck) IsAlive

func (g *GuardianCheck) IsAlive() bool

IsAlive check if the guardians are alive.

func (*GuardianCheck) Ping

func (g *GuardianCheck) 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