Versions in this module Expand all Collapse all v1 v1.8.2 Jan 1, 2025 Changes in this version + func InitialModel() model + type Config struct + BaseNotificationURL string + CheckIntervalSeconds int + Database DatabaseConfig + NotificationMessage string + Queries []QueryConfig + func NewDefaultConfig() Config + func (c *Config) AddQuery(newQuery QueryConfig) + func (c *Config) DeleteQueryByIndex(index int) + func (c *Config) GetQueryNames() []string + func (c *Config) LoadFromFile(filename string) error + func (c *Config) UpdateDB(newDB DatabaseConfig) + func (c *Config) UpdateQuery(index int, newQuery QueryConfig) + func (c *Config) UpdateSettings(newSettings *Config) + func (c Config) SaveToFile(filename string) error + type DatabaseConfig struct + Host string + Name string + Password string + Port string + Username string + type QueryConfig struct + Disabled bool + Name string + NotificationURL string + Query string