Example #1
0
func main() {
	go workers.StartCluster()
	go workers.StartHeartbeat()
	go workers.StartImages()
	go workers.StartServicesCapacity()

	startWeb()
}
Example #2
0
func main() {
	go workers.StartCluster()
	go workers.StartHeartbeat()
	go workers.StartImages()
	go workers.StartServicesCapacity()

	for {
		time.Sleep(1 * time.Hour)
	}
}