Cosmos-Server/src/index.go
Yann Stepienik ac3c78d4b0 [release] v0.1.17-unstable
- Smart Shield
2023-04-18 17:09:01 +01:00

29 lines
466 B
Go

package main
import (
"math/rand"
"time"
"github.com/azukaar/cosmos-server/src/docker"
"github.com/azukaar/cosmos-server/src/utils"
)
func main() {
utils.Log("Starting...")
// utils.Log("Smart Shield estimates the capacity at " + strconv.Itoa((int)(proxy.MaxUsers)) + " concurrent users")
rand.Seed(time.Now().UnixNano())
LoadConfig()
go CRON()
docker.Test()
docker.DockerListenEvents()
docker.BootstrapAllContainersFromTags()
StartServer()
}