mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 14:57:16 +08:00
30 lines
576 B
Go
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"`
|
|
}
|