1
This commit is contained in:
14
config/proxyconfig.go
Normal file
14
config/proxyconfig.go
Normal file
@ -0,0 +1,14 @@
|
||||
package config
|
||||
|
||||
type ProxyConfig struct {
|
||||
ProxyConfigs []TriggerApiProxyConfig `yaml:"proxys"`
|
||||
}
|
||||
|
||||
type TriggerApiProxyConfig struct {
|
||||
ApiKey string `yaml:"apiKey"`
|
||||
ProxyAddress string `yaml:"proxyAddress"`
|
||||
Password string `yaml:"password"`
|
||||
}
|
||||
|
||||
// 主动触发配置代理
|
||||
var TriggerProxys ProxyConfig
|
||||
Reference in New Issue
Block a user