2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-05 04:37:17 +08:00
Files
panel/internal/plugin/fail2ban/request.go
2024-09-18 02:25:24 +08:00

30 lines
576 B
Go

package fail2ban
type Add struct {
Name string `json:"name"`
Type string `json:"type"`
MaxRetry string `json:"maxretry"`
FindTime string `json:"findtime"`
BanTime string `json:"bantime"`
WebsiteName string `json:"website_name"`
WebsiteMode string `json:"website_mode"`
WebsitePath string `json:"website_path"`
}
type Delete struct {
Name string `json:"name"`
}
type BanList struct {
Name string `json:"name"`
}
type Unban struct {
Name string `json:"name"`
IP string `json:"ip"`
}
type SetWhiteList struct {
IP string `json:"ip"`
}