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
2022-08-12 21:08:47 +02:00

20 lines
395 B
Go
Executable file

package main
import (
"fmt"
"github.com/ParadoxPixel/ThemePark-Websocket/command"
"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
}
go server.Start("/", config.Address, config.Debug)
command.ReadConsole()
}