summaryrefslogtreecommitdiff
path: root/struct.go
diff options
context:
space:
mode:
authorHorus32015-02-19 02:38:34 +0100
committerHorus32015-02-19 02:38:34 +0100
commitf53fa2f2f9eb445527e0a1b29b9e37c224499233 (patch)
tree229cc07cb4713a01393d4775f98ec733baa2afe7 /struct.go
parent58e63343703e0c3f3c12934e62fc0f4575761869 (diff)
downloadstatuspage-f53fa2f2f9eb445527e0a1b29b9e37c224499233.tar.gz
Reorder files and parses templates.
Diffstat (limited to 'struct.go')
-rw-r--r--struct.go37
1 files changed, 0 insertions, 37 deletions
diff --git a/struct.go b/struct.go
deleted file mode 100644
index 26c462b..0000000
--- a/struct.go
+++ /dev/null
@@ -1,37 +0,0 @@
-package main
-
-import (
- "time"
-)
-
-/* Maybe worth saving uptime history? */
-
-type Host struct {
- Id int64
- UserId int64
- Url string
- Protocoll string // e.g. http
- Private bool
- Response int64
- /*
- Date time.Time
- Success bool
- Include string // Website must include this string
- Except string // Website must not include this string
- Reason string // Include, Exclude, Connection failure
- Alert bool // True to send alert on failure
- */
- CreatedAt time.Time
- DeletedAt time.Time
- UpdatedAt time.Time
-}
-
-type User struct {
- Id int64
- Name string
- Email string
- Password string
- CreatedAt time.Time
- DeletedAt time.Time
- UpdatedAt time.Time
-}