3
0
Fork 0
This repository has been archived on 2024-11-14. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
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()
}