Files
EdgeCommon/pkg/serverconfigs/http_shutdown_page.go

19 lines
380 B
Go
Raw Normal View History

2020-09-16 20:29:26 +08:00
package serverconfigs
// 关闭页面配置
type HTTPShutdownConfig struct {
IsOn bool `yaml:"isOn" json:"isOn"`
URL string `yaml:"url" json:"url"`
Status int `yaml:"status" json:"status"`
}
// 获取新对象
func NewHTTPShutdownConfig() *HTTPShutdownConfig {
return &HTTPShutdownConfig{}
}
// 校验
func (this *HTTPShutdownConfig) Init() error {
return nil
}