health

package
v0.9.25 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: Apache-2.0 Imports: 1 Imported by: 6

Documentation

Index

Constants

View Source
const (
	Up           = ServiceHealthStatus("UP")
	Partially    = ServiceHealthStatus("PARTIALLY")
	DownCritical = ServiceHealthStatus("DOWN_CRITICAL")
	Down         = ServiceHealthStatus("DOWN")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ServiceHealth

type ServiceHealth struct {
	Status     ServiceHealthStatus      `json:"status,omitempty"`
	Details    map[string]any           `json:"details,omitempty"`
	Components map[string]ServiceHealth `json:"components,omitempty"`
}

func Status

func Status(status ServiceHealthStatus) ServiceHealth

func (ServiceHealth) String

func (s ServiceHealth) String() string

type ServiceHealthStatus

type ServiceHealthStatus string

Jump to

Keyboard shortcuts

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