1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-11-23 21:44:41 +02:00

[feature] dashboard (#2361)

This commit is contained in:
Johnson C
2021-11-24 11:27:23 +08:00
committed by GitHub
parent 90b3e4af0b
commit 70d2bd8a6b
32 changed files with 2606 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
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"`
}