Add new configs

This commit is contained in:
Ben Sarmiento
2023-10-20 03:59:47 +02:00
parent 59eb51b37b
commit f1717a8d94
5 changed files with 40 additions and 16 deletions

View File

@@ -1,7 +1,10 @@
package config
type ZurgConfig struct {
Version string `yaml:"zurg"`
Token string `yaml:"token"`
Port string `yaml:"port"`
Version string `yaml:"zurg"`
Token string `yaml:"token"`
Port string `yaml:"port"`
NumOfWorkers int `yaml:"concurrent_workers"`
RefreshEverySeconds int `yaml:"check_for_changes_every_secs"`
CacheTimeHours int `yaml:"info_cache_time_hours"`
}