about summary refs log tree commit diff
path: root/src/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.go')
-rw-r--r--src/main.go17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/main.go b/src/main.go
new file mode 100644
index 0000000..519943a
--- /dev/null
+++ b/src/main.go
@@ -0,0 +1,17 @@
+package main
+
+import (
+	"flag"
+	"log"
+)
+
+func main() {
+	// Set up flags
+	registerHTTPFlags()
+	registerSessionFlags()
+	registerCredentialsFlags()
+	flag.Parse()
+
+	// Run HTTP server
+	log.Fatalln(runHTTPServer())
+}
\ No newline at end of file