healthcheck

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthChecker

type HealthChecker interface {
	Name() string
	Status() ServiceStatus
}

type ServiceStatus

type ServiceStatus string
const (
	UP                    ServiceStatus = "up"
	DOWN                  ServiceStatus = "down"
	TemporallyUnavailable ServiceStatus = "unavailable"
)

func (ServiceStatus) IsDown

func (s ServiceStatus) IsDown() bool

func (ServiceStatus) ToString

func (s ServiceStatus) ToString() string

Jump to

Keyboard shortcuts

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