2022-12-13 18:54:46 +08:00
|
|
|
package response
|
|
|
|
|
2023-04-25 18:10:17 +08:00
|
|
|
import "github.com/1Panel-dev/1Panel/backend/app/dto"
|
|
|
|
|
2022-12-13 18:54:46 +08:00
|
|
|
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"`
|
|
|
|
}
|
2023-04-25 18:10:17 +08:00
|
|
|
|
|
|
|
type NginxAuthRes struct {
|
|
|
|
Enable bool `json:"enable"`
|
|
|
|
Items []dto.NginxAuth `json:"items"`
|
|
|
|
}
|