基本逻辑完成

This commit is contained in:
2024-11-01 17:40:34 +08:00
commit f9b9beea4b
40 changed files with 1869 additions and 0 deletions

26
config/config.go Normal file
View File

@@ -0,0 +1,26 @@
package config
type config struct {
Location string
Point int
Relay string
Mqtt MqttConfig
Aliyun AliyunConfig
Game GameConfig
}
type MqttConfig struct {
Url string
}
type AliyunConfig struct {
AppKey string
Token string
Timeout int
}
type GameConfig struct {
MaxTimeout int
}
var C config