sock, err := net.Listen("tcp", "localhost:8123") if err != nil { return err } go func() { fmt.Println("HTTP now available at port 8123") http.Serve(sock, nil) }() { "cmdline": ["/var/folders/bc/27hv15_d2zvcc3n3s9dxmfg00000gn/T/go-build421732654/command-line-arguments/_obj/exe/main","-l","debug","-s","i.sock","-c","realtest"], "counters": {"a": 10, "b": 10}, "memstats": {"Alloc":1076016,"TotalAlloc