mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 12:48:14 -05:00
18 lines
1.1 KiB
Go
18 lines
1.1 KiB
Go
package model
|
|
|
|
type SettingForm struct {
|
|
CustomNameservers string `json:"custom_nameservers,omitempty" validate:"optional"`
|
|
IgnoredIPNotification string `json:"ignored_ip_notification,omitempty" validate:"optional"`
|
|
IPChangeNotificationGroupID uint64 `json:"ip_change_notification_group_id,omitempty"` // IP变更提醒的通知组
|
|
Cover uint8 `json:"cover,omitempty"`
|
|
SiteName string `json:"site_name,omitempty" minLength:"1"`
|
|
Language string `json:"language,omitempty" minLength:"2"`
|
|
InstallHost string `json:"install_host,omitempty" validate:"optional"`
|
|
CustomCode string `json:"custom_code,omitempty" validate:"optional"`
|
|
CustomCodeDashboard string `json:"custom_code_dashboard,omitempty" validate:"optional"`
|
|
RealIPHeader string `json:"real_ip_header,omitempty" validate:"optional"` // 真实IP
|
|
|
|
EnableIPChangeNotification bool `json:"enable_ip_change_notification,omitempty" validate:"optional"`
|
|
EnablePlainIPInNotification bool `json:"enable_plain_ip_in_notification,omitempty" validate:"optional"`
|
|
}
|