summaryrefslogtreecommitdiff
path: root/app/struct.go
diff options
context:
space:
mode:
authorHorus_Arch2015-02-26 02:40:52 +0100
committerHorus_Arch2015-02-26 02:40:52 +0100
commit64ae2edb5a97f05f5592f58422adbc6ac089f9e8 (patch)
treeb375a73ec6bd0698d27cd01ef4307e62e9c1fa6d /app/struct.go
parent49ffcba2c3c4a19d147dd792d7f6c99b7545a491 (diff)
downloadstatuspage-64ae2edb5a97f05f5592f58422adbc6ac089f9e8.tar.gz
Clean up. More backend code. Better UX and design.
Diffstat (limited to 'app/struct.go')
-rw-r--r--app/struct.go14
1 files changed, 5 insertions, 9 deletions
diff --git a/app/struct.go b/app/struct.go
index 172a54d..49a201d 100644
--- a/app/struct.go
+++ b/app/struct.go
@@ -39,13 +39,9 @@ type User struct {
UpdatedAt time.Time
}
-type FlashMessages struct {
- Success []interface{}
- Error []interface{}
-}
-
-type Admin struct {
- Success []interface{}
- Error []interface{}
- Hosts []Host
+type Messages struct {
+ Success []interface{}
+ Error []interface{}
+ Hosts []Host
+ moreScripts []string
}