This commit is contained in:
2025-05-28 22:50:29 +02:00
parent 026915fdec
commit ded5c332e2
5 changed files with 98 additions and 5 deletions

View File

@ -44,6 +44,16 @@ type Config struct {
Host string `yaml:"host"`
Port string `yaml:"port"`
} `yaml:"telnetserver"`
Gotify struct {
Enable bool `yaml:"enable"`
URL string `yaml:"url"`
Token string `yaml:"token"`
NewDXCC bool `yaml:"NewDXCC"`
NewBand bool `yaml:"NewBand"`
NewMode bool `yaml:"NewMode"`
NewBandAndMode bool `yaml:"NewBandAndMode"`
} `yaml:"gotify"`
}
func NewConfig(configPath string) *Config {