package
Version:
v0.0.0-...-f266d1f
Opens a new window with list of versions in this module.
Published: Feb 5, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Health(c echo.Context) error
Health is used to determine if Caesium is healthy.
The response also includes the uptime.
Start launches Caesium's API.
type HealthResponse struct {
Status Status `json:"status"`
Uptime time.Duration `json:"uptime"`
}
HealthResponse defines the data the Health
REST endpoint returns.
Status enumerates the health statues of Caesium.
const (
Healthy Status = "healthy"
)
Source Files
¶
Directories
¶
|
|
|
|
rest
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.