health

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2021 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErdaHealthPath = "/_api/health"
	ErdaHealthy    = "ok"
)

Variables

This section is empty.

Functions

func GetSoldierHealth

func GetSoldierHealth(w http.ResponseWriter, r *http.Request)

Types

type ErdaHealthDto

type ErdaHealthDto struct {
	Name    string            `json:"name"`
	Status  string            `json:"status"`
	Modules []ModuleHealth    `json:"modules"`
	Tags    map[string]string `json:"tags"`
}

type ModuleHealth

type ModuleHealth struct {
	Name    string `json:"name"`
	Status  string `json:"status"`
	Message string `json:"message"`
}

Jump to

Keyboard shortcuts

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