health

package
v0.0.0-...-c5cc7cd Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewHTTPDSHealthCheck

func NewHTTPDSHealthCheck(name, url string) health.Config

NewHTTPDSHealthCheck creates a health check config for an HTTP datasource

func NewServerComponent

func NewServerComponent(name, version string) health.Component

NewServerComponent creates a health component for a server

func WithServer

func WithServer(srv *gin.Engine, component health.Component, checks ...health.Config)

WithServer adds a live check endpoint and ready check endpoint to a given server

Types

This section is empty.

Jump to

Keyboard shortcuts

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