You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dashboard/handler/statistics/models.go

17 lines
338 B
Go

package statistics
type getSummaryResponse struct {
Registry registrySummary `json:"registry"`
Services servicesSummary `json:"services"`
}
type registrySummary struct {
Type string `json:"type"`
Addrs []string `json:"addrs"`
}
type servicesSummary struct {
Count int `json:"count"`
NodesCount int `json:"nodes_count"`
}