summaryrefslogtreecommitdiff
path: root/struct.go
diff options
context:
space:
mode:
authorHorus32015-03-20 17:30:11 +0100
committerHorus32015-03-20 17:30:11 +0100
commit410504e069d37c522dca6bf820e9fc4cea2de871 (patch)
tree75db9c44b5e852652fd8e54b8d4db91147fb77a2 /struct.go
parent9ab1f49c4c4aa5dcaa0dd50ec606ca06ca071c71 (diff)
downloadfreemail-410504e069d37c522dca6bf820e9fc4cea2de871.tar.gz
Check if domain points to mail server. Add http handler to create a new entry.
Diffstat (limited to 'struct.go')
-rw-r--r--struct.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/struct.go b/struct.go
index b8ccf38..9ea6346 100644
--- a/struct.go
+++ b/struct.go
@@ -40,3 +40,15 @@ type VirtualAliase struct {
Source string
Destination string
}
+
+type Request struct {
+ Email string
+ ConfirmEmail string
+ Password string
+ ConfirmPassword string
+}
+
+type Flash struct {
+ Success []interface{}
+ Error []interface{}
+}