3
0
Fork 0
This repository has been archived on 2024-11-14. You can view files and clone it, but cannot push or open issues or pull requests.
ThemeParkPlus-Socket/main.go
Thomas van Weert 9edcb83fc4 CHG: refactor
CHG: use concurrent map instead of regular map with lock
DEL: global session control, moved to per server only
DEL: unused command system
2023-02-16 20:04:17 +01:00

17 lines
313 B
Go
Executable file

package main
import (
"fmt"
"github.com/ParadoxPixel/ThemePark-Websocket/objects"
"github.com/ParadoxPixel/ThemePark-Websocket/server"
)
func main() {
config, err := objects.LoadConfiguration("config.json")
if err != nil {
fmt.Println(err)
return
}
server.Start("/", config.Address, config.Debug)
}