package
Version:
v0.0.0-...-0cfb223
Opens a new window with list of versions in this module.
Published: Jan 19, 2024
License: AGPL-3.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Version stores the version of the current build
type Health struct {
OK bool `json:"ok"`
Service *Service `json:"service"`
}
Health represents the object of the health root endpoint
GetHealth performs a self-check and returns the result
type Index struct {
Version string `json:"version" bson:"version"`
}
Index represents the object of the API root endpoint
GetIndex returns the data of the API root endpoint
type Service struct {
Database health.Status `json:"database"`
}
Service holds all services with their respective status
Source Files
¶
Click to show internal directories.
Click to hide internal directories.