mirror of
https://github.com/grafana/grafana.git
synced 2025-02-04 12:41:12 -06:00
20 lines
356 B
Go
20 lines
356 B
Go
package api
|
|
|
|
type saveDashboardCommand struct {
|
|
Id string `json:"id"`
|
|
Title string `json:"title"`
|
|
Dashboard map[string]interface{}
|
|
}
|
|
|
|
type errorResponse struct {
|
|
Message string `json:"message"`
|
|
}
|
|
|
|
type indexViewModel struct {
|
|
title string
|
|
}
|
|
|
|
func newErrorResponse(message string) *errorResponse {
|
|
return &errorResponse{Message: message}
|
|
}
|