From b7f5ed4e5fcb3b51636a9dad79e7e80f7ebbb102 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Fri, 23 Dec 2022 08:51:37 +0100 Subject: implement local storage backend The 'local' backend is able to serve the music from a path specified by '-server-music-dir'. Add command line options to select the server port as well as a list of backends. --- config.go | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 config.go (limited to 'config.go') diff --git a/config.go b/config.go new file mode 100644 index 0000000..ff56936 --- /dev/null +++ b/config.go @@ -0,0 +1,7 @@ +package main + +type Config struct { + port int + backends string + localMusicDir string +} -- cgit v1.2.3