mirror of
https://github.com/go-micro/go-micro.git
synced 2025-04-23 11:07:43 +02:00
17 lines
338 B
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"`
|
||
|
}
|