diff options
-rw-r--r-- | config.go | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -14,8 +14,14 @@ type SoundboxConfig struct { Mac string `json:"mac"` } +type URLConfig struct { + Name string `json:"name"` + Url string `json:"url"` +} + type GlobalConfig struct { Soundboxes []SoundboxConfig `json:"soundboxes"` + URLs []URLConfig `json:"urls"` } func loadConfig() (GlobalConfig, error) { |