This commit is contained in:
XenGi 2025-08-23 18:36:47 +02:00
parent 7180ddcfbc
commit fd4eb5b3e8
Signed by: xengi
SSH key fingerprint: SHA256:jxWM2RTHvxxcncXycwwWkP7HCWb4VREN05UGJTbIPZg
18 changed files with 195 additions and 272 deletions

15
sse.go
View file

@ -1,13 +1,14 @@
package main
import (
"bytes"
"encoding/json"
"fmt"
"github.com/fhs/gompd/v2/mpd"
"github.com/labstack/echo/v4"
"io"
"time"
"bytes"
"encoding/json"
"fmt"
"io"
"time"
"github.com/fhs/gompd/v2/mpd"
"github.com/labstack/echo/v4"
)
// Event represents Server-Sent Event.