This repository has been archived on 2026-07-29. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
GoEdgeCommon/pkg/serverconfigs/http_shutdown_page.go
T

19 lines
380 B
Go

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
}