summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'config.go')
-rw-r--r--config.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.go b/config.go
index 5bdd48c..a4f2805 100644
--- a/config.go
+++ b/config.go
@@ -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) {