mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 13:10:24 +08:00 
			
		
		
		
	
		
			
	
	
		
			15 lines
		
	
	
		
			393 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			15 lines
		
	
	
		
			393 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
								 | 
							
								// Copyright 2023 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn .
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								package serverconfigs
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								// HTTPCacheKeyConfig 缓存Key配置
							 | 
						||
| 
								 | 
							
								type HTTPCacheKeyConfig struct {
							 | 
						||
| 
								 | 
							
									IsOn   bool   `yaml:"isOn" json:"isOn"`
							 | 
						||
| 
								 | 
							
									Scheme string `yaml:"scheme" json:"scheme"`
							 | 
						||
| 
								 | 
							
									Host   string `yaml:"host" json:"host"`
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (this *HTTPCacheKeyConfig) Init() error {
							 | 
						||
| 
								 | 
							
									return nil
							 | 
						||
| 
								 | 
							
								}
							 |