watchdog

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetJsonEncodedServiceResults added in v0.1.2

func GetJsonEncodedServiceResults() ([]byte, error)

GetJsonEncodedServiceResults returns a list of the last 20 results for each services encoded using json.Marshal. The reason why the encoding is done here is because we use a mutex to prevent concurrent map access.

func Monitor

func Monitor(cfg *config.Config)

Monitor loops over each services and starts a goroutine to monitor each services separately

Types

This section is empty.

Jump to

Keyboard shortcuts

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