types

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HistoricalStat

type HistoricalStat struct {
	ResponseTime int
	IsUp         bool
	Timestamp    time.Time
}

type Monitor

type Monitor struct {
	ID       int
	Name     string
	URL      string
	IsActive bool
}

type ServiceStatus

type ServiceStatus struct {
	ServiceURL        string
	ServiceName       string
	ResponseTime      int
	AvgResponseTime   float64
	Uptime24Hours     float64
	Uptime30Days      float64
	CurrentStatus     bool
	CertificateExpiry time.Time
	IsActive          bool
}

ServiceStatus represents the status of a monitored service

Jump to

Keyboard shortcuts

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