aboutsummaryrefslogtreecommitdiff
path: root/garage.go
diff options
context:
space:
mode:
Diffstat (limited to 'garage.go')
-rw-r--r--garage.go26
1 files changed, 26 insertions, 0 deletions
diff --git a/garage.go b/garage.go
new file mode 100644
index 0000000..40848cc
--- /dev/null
+++ b/garage.go
@@ -0,0 +1,26 @@
+package main
+
+import (
+ "net/http"
+)
+
+
+func handleGarageKey(w http.ResponseWriter, r *http.Request) {
+ tKey := getTemplate("garage_key.html")
+ tKey.Execute(w, nil)
+}
+
+func handleGarageWebsiteList(w http.ResponseWriter, r *http.Request) {
+ tWebsiteList := getTemplate("garage_website_list.html")
+ tWebsiteList.Execute(w, nil)
+}
+
+func handleGarageWebsiteNew(w http.ResponseWriter, r *http.Request) {
+ tWebsiteNew := getTemplate("garage_website_new.html")
+ tWebsiteNew.Execute(w, nil)
+}
+
+func handleGarageWebsiteInspect(w http.ResponseWriter, r *http.Request) {
+ tWebsiteInspect := getTemplate("garage_website_inspect.html")
+ tWebsiteInspect.Execute(w, nil)
+}