mirror of
				https://github.com/TeaOSLab/EdgeCommon.git
				synced 2025-11-04 05:00:24 +08:00 
			
		
		
		
	
		
			
	
	
		
			18 lines
		
	
	
		
			465 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			18 lines
		
	
	
		
			465 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
								 | 
							
								// Copyright 2022 Liuxiangchao iwind.liu@gmail.com. All rights reserved. Official site: https://goedge.cn .
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								package firewallconfigs
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								var DefaultHTTPFirewallPolicyLogConfig = &HTTPFirewallPolicyLogConfig{
							 | 
						||
| 
								 | 
							
									IsOn:        true,
							 | 
						||
| 
								 | 
							
									RequestBody: true,
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type HTTPFirewallPolicyLogConfig struct {
							 | 
						||
| 
								 | 
							
									IsOn        bool `yaml:"isOn" json:"isOn"`
							 | 
						||
| 
								 | 
							
									RequestBody bool `yaml:"requestBody" json:"requestBody"`
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								func (this *HTTPFirewallPolicyLogConfig) Init() error {
							 | 
						||
| 
								 | 
							
									return nil
							 | 
						||
| 
								 | 
							
								}
							 |