2021-04-02 18:53:25 +02:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2021-04-06 17:11:10 +02:00
|
|
|
"git.fanyx.xyz/fanyx/goufy/pkg/config"
|
2021-04-08 23:02:56 +02:00
|
|
|
"git.fanyx.xyz/fanyx/goufy/pkg/gbxremote"
|
2021-04-02 18:53:25 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
2021-04-07 16:14:15 +02:00
|
|
|
// initiate config
|
2021-04-09 00:26:11 +02:00
|
|
|
var conf = config.LoadDefaults()
|
2021-04-07 16:14:15 +02:00
|
|
|
conf.ReadConfig()
|
|
|
|
|
2021-04-08 23:02:56 +02:00
|
|
|
//fmt.Printf("%#v\n", conf)
|
|
|
|
|
|
|
|
// initial connection to trackmania server
|
|
|
|
var client gbxremote.GbxClient
|
2021-04-07 16:14:15 +02:00
|
|
|
client.Connect(conf)
|
2021-04-02 18:53:25 +02:00
|
|
|
|
|
|
|
}
|