]> code.octet-stream.net Git - broadcaster/blobdiff - server/model.go
Simplify package names
[broadcaster] / server / model.go
index 94a6ab445cd86975e538f747995dfd1b3e2043ea..11f94e750efecedf35bf48575cc0238594547aaa 100644 (file)
@@ -9,7 +9,10 @@ type PlaylistEntry struct {
 }
 
 type User struct {
-       username string
+       Id           int
+       Username     string
+       PasswordHash string
+       IsAdmin      bool
 }
 
 type Playlist struct {