Initial commit
This commit is contained in:
commit
b7d90b9afe
16245 files changed
+3396666
No files matched your search
Executable
+21
@@ -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,
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user