controllers

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrHealthcheckFailed = errors.New("healthcheck failed")

Functions

func HealthcheckController

func HealthcheckController(checks []checks.Check, config config.Config) gin.HandlerFunc

Types

type CheckStatus

type CheckStatus struct {
	Name string `json:"name"`
	Pass bool   `json:"pass"`
}

Jump to

Keyboard shortcuts

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