mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 22:07:16 +08:00
40 lines
938 B
Go
40 lines
938 B
Go
package plugins
|
|
|
|
type PHPExtension struct {
|
|
Name string `json:"name"`
|
|
Slug string `json:"slug"`
|
|
Description string `json:"description"`
|
|
Installed bool `json:"installed"`
|
|
}
|
|
|
|
type LoadInfo struct {
|
|
Name string `json:"name"`
|
|
Value string `json:"value"`
|
|
}
|
|
|
|
type Fail2banJail struct {
|
|
Name string `json:"name"`
|
|
Enabled bool `json:"enabled"`
|
|
LogPath string `json:"log_path"`
|
|
MaxRetry int `json:"max_retry"`
|
|
FindTime int `json:"find_time"`
|
|
BanTime int `json:"ban_time"`
|
|
}
|
|
|
|
type S3fsMount struct {
|
|
ID int64 `json:"id"`
|
|
Path string `json:"path"`
|
|
Bucket string `json:"bucket"`
|
|
Url string `json:"url"`
|
|
}
|
|
|
|
type RsyncModule struct {
|
|
Name string `json:"name"`
|
|
Path string `json:"path"`
|
|
Comment string `json:"comment"`
|
|
ReadOnly bool `json:"read_only"`
|
|
AuthUser string `json:"auth_user"`
|
|
Secret string `json:"secret"`
|
|
HostsAllow string `json:"hosts_allow"`
|
|
}
|