mirror of
				https://github.com/1Panel-dev/1Panel.git
				synced 2025-10-28 01:36:56 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			540 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			540 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| package response
 | |
| 
 | |
| import "github.com/1Panel-dev/1Panel/backend/app/dto"
 | |
| 
 | |
| type NginxStatus struct {
 | |
| 	Active   string `json:"active"`
 | |
| 	Accepts  string `json:"accepts"`
 | |
| 	Handled  string `json:"handled"`
 | |
| 	Requests string `json:"requests"`
 | |
| 	Reading  string `json:"reading"`
 | |
| 	Writing  string `json:"writing"`
 | |
| 	Waiting  string `json:"waiting"`
 | |
| }
 | |
| 
 | |
| type NginxParam struct {
 | |
| 	Name   string   `json:"name"`
 | |
| 	Params []string `json:"params"`
 | |
| }
 | |
| 
 | |
| type NginxAuthRes struct {
 | |
| 	Enable bool            `json:"enable"`
 | |
| 	Items  []dto.NginxAuth `json:"items"`
 | |
| }
 |