Sin descripción
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config_requset_model.go 373B

123456789101112
  1. package configreq
  2. // ConfigRequest 配置参数请求
  3. type ConfigRequest struct {
  4. YamlRoot string `json:"yaml_boot" binding:"required"`
  5. ConfigFields map[string]*ConfigField `json:"config_info,omitempty"`
  6. }
  7. type ConfigField struct {
  8. YamlName string `json:"yaml_name," binding:"required"`
  9. YamlValue string `json:"yaml_value" binding:"required"`
  10. }