代码拉取完成,页面将自动刷新
package baseconfig
import (
"gitee.com/ichub/goconfig/common/base/baseutils/jsonutils"
)
/*
@Title 文件名称: web_server_dto.go
@Description 描述: Web服务配置信息
@Author 作者: leijianming@163.com 时间(2024-02-18 22:38:21)
@Update 作者: leijianming@163.com 时间(2024-02-18 22:38:21)
*/
type WebServerDto struct {
EtcdHost string `json:"etcd_host"`
ServerName string `json:"server_name"`
ServerPort int `json:"server_port"`
IchubClientDto
}
func NewWebServerDto() *WebServerDto {
var webdto = &WebServerDto{}
webdto.InitProxy(webdto)
webdto.IchubClientDto.InitProxy(webdto.IchubClientDto)
return webdto
}
func (this *WebServerDto) String() string {
return jsonutils.ToJsonPretty(this)
}
func (this *WebServerDto) Parse() *WebServerDto {
this.EtcdHost = this.ParseValue("EtcdHost", this.EtcdHost)
this.ServerName = this.ParseValue("ServerName", this.ServerName)
//this.ServerPort = this.parseValue("KEY", this.ServerPort)
return this
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。