diff options
Diffstat (limited to 'src/main.go')
-rw-r--r-- | src/main.go | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main.go b/src/main.go new file mode 100644 index 0000000..f1c96e0 --- /dev/null +++ b/src/main.go @@ -0,0 +1,16 @@ +package main + +import ( + "flag" + "log" +) + +func main() { + // parse the flags + registerHTTPFlags() + flag.Parse() + + // setup the http server + httpServer := setupHTTPServer() + log.Fatalln(httpServer.ListenAndServe()) +} |