]> code.octet-stream.net Git - broadcaster/blob - server/model.go
Make headings consistent in UI
[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 Id int
13 Username string
14 PasswordHash string
15 IsAdmin bool
16 }
17
18 type Playlist struct {
19 Id int
20 Enabled bool
21 Name string
22 StartTime string
23 }
24
25 type Radio struct {
26 Id int
27 Name string
28 Token string
29 }