habbgo/habbgo/main.go

17 lines
331 B
Go
Raw Normal View History

2019-11-27 07:28:20 +00:00
package main
import (
"github.com/jtieri/HabbGo/habbgo/server"
"github.com/jtieri/HabbGo/habbgo/utils"
2019-12-04 03:13:18 +00:00
"log"
2019-11-27 07:28:20 +00:00
)
func main() {
2019-12-10 03:13:49 +00:00
//log.Println(string(encoding.EncodeB64(206, 2)))
2019-12-04 03:13:18 +00:00
log.Println("Booting up HabbGo... ")
2019-11-27 07:28:20 +00:00
config := utils.LoadConfig()
2019-12-10 03:13:49 +00:00
gameServer := server.New(&config)
2019-11-27 07:28:20 +00:00
gameServer.Start()
defer gameServer.Stop()
}