switch from websockets to sse

This commit is contained in:
XenGi 2024-08-07 23:35:16 +02:00
parent 67335c97b4
commit 534077bad3
Signed by: xengi
SSH key fingerprint: SHA256:jxWM2RTHvxxcncXycwwWkP7HCWb4VREN05UGJTbIPZg
13 changed files with 384 additions and 233 deletions

View file

@ -6,6 +6,7 @@ PROJECT := sanic
mpd: ## Run mpd test instance
mkdir -p /tmp/${PROJECT}/{music,playlists}
cp *.mp3 /tmp/${PROJECT}/music/
touch /tmp/${PROJECT}/mpd_db
mpd --no-daemon ./mpd.conf
@ -17,7 +18,7 @@ build: ## Compile project
update: ## Update go dependencies
go get -u
which gomod2nix && gomod2nix
which gomod2nix && gomod2nix # sync go deps with nix
tidy: ## Add missing and remove unused modules
go mod tidy