Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Server struct { Port int Endpoint string } Checker struct { Interval int Timeout int } URLMonitors []URLMonitorConfig Slack SlackConfig Twilio TwilioConfig }
Config represents configuration set for the program to run
func CreateConfigurationFromFile ¶
CreateConfigurationFromFile Returns a new configuration loaded from a file
type SlackConfig ¶
type SlackConfig struct { Enabled bool WebhookURL string Messages SlackMessagesConfig }
type SlackMessagesConfig ¶
type TwilioConfig ¶
type TwilioConfig struct {
SMS TwilioSMSConfig
}
type TwilioSMSBodyConfig ¶
type TwilioSMSConfig ¶
Click to show internal directories.
Click to hide internal directories.