Пример #1
0
func main() {
	go workers.StartCluster()
	go workers.StartHeartbeat()
	go workers.StartImages()
	go workers.StartServicesCapacity()

	startWeb()
}
Пример #2
0
func main() {
	go workers.StartCluster()
	go workers.StartHeartbeat()
	go workers.StartImages()
	go workers.StartServicesCapacity()

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