Initial commit

This commit is contained in:
torsten committed 2026-08-13 18:33:10 +02:00
commit b7d90b9afe
16245 files changed
+3396666

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
package main
import (
serviceportsinformation "legatus-rme/backend/servicePortsInformation"
typedata "legatus-rme/backend/typeData"
"legatus-rme/backend/websocket"
)
func main() {
servicePortsInformationSocket := websocket.OpenWebsocket("servicePortsInformation", []int{7300}).(serviceportsinformation.ServicePortsInformation)
exerciseServicePortMap, exerciseIds := servicePortsInformationSocket.GetPorts()
typeDataSocket := websocket.OpenWebsocket("typeBaseData", []int{exerciseServicePortMap["0-ParticipantManagement1"]}).(typedata.TypeData)
typeData := typeDataSocket.GetTypeData()
websocket.OpenWebsocketServer(websocket.Server{
ExerciseIds: exerciseIds,
ExerciseServicePortMap: exerciseServicePortMap,
TypeData: typeData,
})
}