uptime

package
v0.0.0-...-abf7e6b Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ExtraHosts is a list of hosts we also want to monitor.
	ExtraHosts = []string{
		"archive.natwelch.com",
		"corybooker.com",
		"dcwelch.com",
		"google.com",
		"lydiadehn.com",
		"mood.natwelch.com",
		"newyork.welch.io",
		"timebyping.com",
		"www.natwelch.com",
		"www.traviscwelch.com",
	}
)

Functions

func UpdateServices

func UpdateServices(ctx context.Context, c *Config) error

UpdateServices updates monitoring for all of our services.

func UpdateUptimeChecks

func UpdateUptimeChecks(ctx context.Context, c *Config) error

UpdateUptimeChecks makes sure there is an uptime check for all of my domains.

Types

type Config

type Config struct {
	Log       *zap.SugaredLogger
	ProjectID string
}

Config is a config.

Jump to

Keyboard shortcuts

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