=priority add start

This commit is contained in:
Miki 2023-12-05 15:48:43 +01:00
parent b1745ede2e
commit 3c58b3bef5
40 changed files with 1222 additions and 36 deletions

View file

@ -175,7 +175,7 @@ func (stream *PriorityStream) timer() {
stream.Start = false
msg := Message{
Msg: "stop",
Mode: Time.String(),
Mode: Stop.String(),
}
stream.Message <- msg
return
@ -184,8 +184,8 @@ func (stream *PriorityStream) timer() {
currentTimer := fmt.Sprintf("The Current Time Is %v", formatTime(stream.Duration))
msg := Message{
Msg: currentTimer,
Mode: Time.String(),
Duration: currentTimer,
Mode: Time.String(),
}
// Send current time to clients message channel