This commit is contained in:
Peter Stuifzand 2020-11-29 22:19:39 +01:00
parent 925fbfc476
commit bcde001866

View File

@ -33,7 +33,7 @@ type Stat struct {
func main() { func main() {
hostPort := flag.String("http", ":80", "host and port to listen on") hostPort := flag.String("http", ":80", "host and port to listen on")
baseURL := flag.String("baseurl", "", "baseurl that the server should response with") baseURL := flag.String("baseurl", "", "baseurl that the server should response with")
database := flag.String("database", "localhost:9999", "database hostpost") database := flag.String("database", "localhost:9999", "database host:port")
flag.Parse() flag.Parse()
log.Printf("Using arguments http=%s baseurl=%s database=%s", *hostPort, *baseURL, *database) log.Printf("Using arguments http=%s baseurl=%s database=%s", *hostPort, *baseURL, *database)