package main
import (
"status/server"
)
func main() {
cfg, err := ReadConfig("config.json")
if err != nil {
panic(err)
}
go checkLoop(cfg.Targets)
server.StartServer(cfg.Port)