package
Version:
v0.0.3-untested
Opens a new window with list of versions in this module.
Published: May 22, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package monitoring provides the logic to monitor the services and machines.
Handle function handles the payload from the API server
type Payload struct {
MachineStatus string `json:"machineStatus,omitempty"`
Services map[string]string `json:"services"`
Timestamp time.Time `json:"-"`
Machine string `json:"-"`
}
Payload is the structure of the payload received from the API server
Source Files
¶
Click to show internal directories.
Click to hide internal directories.