f
This commit is contained in:
@@ -47,6 +47,18 @@ type Config struct {
|
||||
Huibo HuiboConfig `mapstructure:"huibo"`
|
||||
Nuoer NuoerConfig `mapstructure:"nuoer"`
|
||||
Haiyuapi HaiyuapiConfig `mapstructure:"haiyuapi"`
|
||||
QueryWhitelist QueryWhitelistConfig `mapstructure:"query_whitelist"`
|
||||
}
|
||||
|
||||
// QueryWhitelistConfig 查询白名单配置
|
||||
type QueryWhitelistConfig struct {
|
||||
PublicAPI QueryWhitelistPublicAPIConfig `mapstructure:"public_api"`
|
||||
}
|
||||
|
||||
// QueryWhitelistPublicAPIConfig 查询白名单公开添加接口配置
|
||||
type QueryWhitelistPublicAPIConfig struct {
|
||||
Enabled bool `mapstructure:"enabled"`
|
||||
ManagementKey string `mapstructure:"management_key"`
|
||||
}
|
||||
|
||||
// ServerConfig HTTP服务器配置
|
||||
|
||||
Reference in New Issue
Block a user