aboutsummaryrefslogtreecommitdiffstats
path: root/bingo-factory.go
diff options
context:
space:
mode:
Diffstat (limited to 'bingo-factory.go')
-rw-r--r--bingo-factory.go19
1 files changed, 19 insertions, 0 deletions
diff --git a/bingo-factory.go b/bingo-factory.go
new file mode 100644
index 0000000..98422c2
--- /dev/null
+++ b/bingo-factory.go
@@ -0,0 +1,19 @@
+package main
+
+import (
+ "fmt"
+ "net/http"
+
+ "github.com/jpappel/bingo-factory/net"
+)
+
+func main() {
+ const HOSTNAME string = ""
+ const PORT int = 8080
+ addr := fmt.Sprintf("%s:%d", HOSTNAME, PORT)
+
+ mux := net.NewMux()
+
+ fmt.Printf("Listening on %s\n", addr)
+ fmt.Print(http.ListenAndServe(addr, mux))
+}