🆕新增接口控制服务端、命令控制服务端
This commit is contained in:
@@ -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
5
config/wireguard.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package config
|
||||
|
||||
type wireguard struct {
|
||||
ListenConfig string `json:"listenConfig" yaml:"listenConfig"`
|
||||
}
|
Reference in New Issue
Block a user