summaryrefslogtreecommitdiff
path: root/app/handler.go
diff options
context:
space:
mode:
authorHorus32015-02-19 13:30:54 +0100
committerHorus32015-02-19 13:30:54 +0100
commit02e6a8b9ae3596ee1c405cdd1541c5cc59b50e3a (patch)
tree157a800cc381e78bb03b8868417db8fe12ca8239 /app/handler.go
parentd9749f16e15739c7652b05af391af9e59e2307d6 (diff)
downloadstatuspage-02e6a8b9ae3596ee1c405cdd1541c5cc59b50e3a.tar.gz
Static file handling and autoimport the db-driver from Makefile.
Diffstat (limited to 'app/handler.go')
-rw-r--r--app/handler.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/handler.go b/app/handler.go
index f87e92a..d76782f 100644
--- a/app/handler.go
+++ b/app/handler.go
@@ -12,6 +12,11 @@ func IndexHandler(w http.ResponseWriter, r *http.Request) {
// w.Write()
}
+/*
+func StaticHandler(w http.ResponseWrite, r *http.Request) {
+}
+*/
+
func RegisterHandler(w http.ResponseWriter, r *http.Request) {
log.Println("Processing registration!")
fmt.Fprintf(w, "Processing registration! \n")