15 lines
		
	
	
		
			329 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			15 lines
		
	
	
		
			329 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
								 | 
							
								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
							 |