aboutsummaryrefslogtreecommitdiffstats
path: root/bingo-factory.go
blob: 98422c28c19de1bc57e08b1f4e88d36b3e190bc4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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))
}