monitor

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package monitor implements functionality to poll endpoints and send notifications about the retrieved status.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Monitor

type Monitor struct {
	NotificationClient notification.Client
	// contains filtered or unexported fields
}

Monitor provides the functionality to monitor http endpoints.

func New

func New(conf config.Config) (*Monitor, error)

New sets up a new monitor to check services.

func (*Monitor) Start

func (m *Monitor) Start()

Start begins the monitoring.

Jump to

Keyboard shortcuts

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