🆕新增接口控制服务端、命令控制服务端

This commit is contained in:
coward
2024-03-22 10:42:36 +08:00
parent a988b66ccd
commit 86c76add17
10 changed files with 142 additions and 44 deletions

View File

@@ -3,8 +3,9 @@ package config
var Config *config
type config struct {
Http *http `yaml:"http"`
Database *database `yaml:"database"`
Redis *redis `yaml:"redis"`
File *file `yaml:"file"`
Http *http `yaml:"http"`
Database *database `yaml:"database"`
Redis *redis `yaml:"redis"`
File *file `yaml:"file"`
Wireguard wireguard `yaml:"wireguard"`
}

5
config/wireguard.go Normal file
View File

@@ -0,0 +1,5 @@
package config
type wireguard struct {
ListenConfig string `json:"listenConfig" yaml:"listenConfig"`
}