mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 17:17:13 +08:00
23 lines
491 B
Go
23 lines
491 B
Go
package toolbox
|
|
|
|
type DNS struct {
|
|
DNS1 string `form:"dns1" json:"dns1" validate:"required"`
|
|
DNS2 string `form:"dns2" json:"dns2" validate:"required"`
|
|
}
|
|
|
|
type SWAP struct {
|
|
Size int64 `form:"size" json:"size" validate:"gte=0"`
|
|
}
|
|
|
|
type Timezone struct {
|
|
Timezone string `form:"timezone" json:"timezone" validate:"required"`
|
|
}
|
|
|
|
type Hosts struct {
|
|
Hosts string `form:"hosts" json:"hosts"`
|
|
}
|
|
|
|
type Password struct {
|
|
Password string `form:"password" json:"password" validate:"required"`
|
|
}
|