livestream code refactoring

This commit is contained in:
2024-08-24 13:07:07 +02:00
parent 434efc79d8
commit d4feefd639
4 changed files with 12 additions and 17 deletions

View File

@@ -5,7 +5,7 @@ import "time"
type LiveStreamStatus = map[string]Status
type Status = struct {
Status int
WaitTime time.Duration
LiveDate time.Time
Status int `json:"status"`
WaitTime time.Duration `json:"waitTime"`
LiveDate time.Time `json:"liveDate"`
}