package
0.0.0-20240925042321-66fc141aac60
Repository: https://github.com/nathan-osman/my-site-monitor.git
Documentation: pkg.go.dev

# Functions

FilteredError filters the Error value by ignoring RecordNotFound errors.
New creates a new database connection and initializes it.

# Constants

StatusDown indicates that the website is not responding to requests.
StatusUnknown indicates that the status of the site is not yet known.
StatusUp indicates that the website is responding to requests.

# Structs

Config stores the database connection information.
Conn represents a connection to the database.
Outage represents a period of time during which a site was inaccessible.
Site represents a website being monitored.
User represents a user that can login and make changes to the site configuration.