monitoring

package
v0.0.3-untested Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package monitoring provides the logic to monitor the services and machines.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handle

func Handle(channel chan *Payload)

Handle function handles the payload from the API server

Types

type Payload

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

Jump to

Keyboard shortcuts

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