2023-08-06 21:01:13 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2023-08-18 15:18:07 +00:00
|
|
|
"flag"
|
2023-08-06 21:01:13 +00:00
|
|
|
"net/http"
|
|
|
|
)
|
|
|
|
|
|
|
|
var BusClient *http.Client
|
|
|
|
var Quays []Quay = []Quay{}
|
|
|
|
|
|
|
|
func main() {
|
2023-08-18 15:18:07 +00:00
|
|
|
var port int
|
|
|
|
|
|
|
|
flag.IntVar(&port, "p", 4444, "The port to start the server on")
|
|
|
|
flag.Parse()
|
|
|
|
|
2023-08-06 21:01:13 +00:00
|
|
|
BusClient = &http.Client{}
|
2023-08-18 15:18:07 +00:00
|
|
|
serveHttp(port)
|
2023-08-06 21:01:13 +00:00
|
|
|
}
|