Files
2026-07-13 13:39:47 +08:00

15 lines
395 B
Go

package dto
// UpdateConfigRequest Update config request (partial update)
type UpdateConfigRequest = map[string]any
// UpdateConfigResponse Update config response
type UpdateConfigResponse struct {
Message string `json:"message" example:"Config updated"` // Response message
}
// SetKeyRequest Set a single config item
type SetKeyRequest struct {
Value any `json:"value"` // Config value
}