parent
42588eedfd
commit
66f8df4abb
@ -1,16 +1,16 @@
|
|||||||
package apistruct
|
package apistruct
|
||||||
|
|
||||||
type GetConfigReq struct {
|
type GetConfigReq struct {
|
||||||
ConfigName string `json:"config_name"`
|
ConfigName string `json:"configName"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetConfigListResp struct {
|
type GetConfigListResp struct {
|
||||||
Environment string `json:"environment"`
|
Environment string `json:"environment"`
|
||||||
Version string `json:"version"`
|
Version string `json:"version"`
|
||||||
ConfigNames []string `json:"config_names"`
|
ConfigNames []string `json:"configNames"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type SetConfigReq struct {
|
type SetConfigReq struct {
|
||||||
ConfigName string `json:"config_name"`
|
ConfigName string `json:"configName"`
|
||||||
Data []byte `json:"data"`
|
Data []byte `json:"data"`
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in new issue