httphealthcheck

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checkable

type Checkable interface {
	ServiceHealth() (HealthStatusData, error)
	ServiceName() string
}

type HealthChecker

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

func NewHealthChecker

func NewHealthChecker(checkers ...Checkable) *HealthChecker

func (*HealthChecker) SetUpRoutes

func (c *HealthChecker) SetUpRoutes(group *echo.Group)

type HealthStatusData

type HealthStatusData struct {
	IsAvailable bool  `json:"is_available"`
	Error       error `json:"error,omitempty"`
}

Jump to

Keyboard shortcuts

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