func main() { kingpin.MustParse(parseCmdLine(os.Args[1:])) var metrics = MetricList{Version: Version} pwd := os.Getenv("PGPASSWORD") if *password { fmt.Print("Enter Password: "******"Starting Pome %s", Version) log.Printf("Application will be available at http://127.0.0.1:%d", *webPort) initWebServer(context, *webPort) }
func main() { kingpin.MustParse(parseCmdLine(os.Args[1:])) var metrics = initMetricList(Version) pwd := os.Getenv("PGPASSWORD") if *password { fmt.Print("Enter Password: "******"Starting Pome %s", Version) log.Printf("Application will be available at http://127.0.0.1:%d", *webPort) initScheduler( db, &metrics, *scheduleTableBloat, *scheduleDbSize, *scheduleIndexBloat, *scheduleNumConn, *scheduleTPS, ) initWebServer(context, *webPort) }