]> code.octet-stream.net Git - broadcaster/blob - server/model.go
Allow web user to cancel transmission in progress
[broadcaster] / server / model.go
1 package main
2
3 type PlaylistEntry struct {
4 Id int
5 Position int
6 Filename string
7 DelaySeconds int
8 IsRelative bool
9 }
10
11 type User struct {
12 username string
13 }
14
15 type Playlist struct {
16 Id int
17 Enabled bool
18 Name string
19 StartTime string
20 }
21
22 type Radio struct {
23 Id int
24 Name string
25 Token string
26 }